parcoursmob/renderer/solidarity_service.go

25 lines
753 B
Go
Raw Normal View History

2024-05-02 07:54:51 +00:00
package renderer
import (
"fmt"
2024-05-02 07:54:51 +00:00
"net/http"
)
const solidarityserviceMenu = "solidarity_service"
func (renderer *Renderer) SolidarityServiceBookingList( w http.ResponseWriter, r *http.Request) {
2024-05-02 07:54:51 +00:00
files:= renderer.ThemeConfig.GetStringSlice("views.solidarity_service.list.files")
state := NewState(r, renderer.ThemeConfig, solidarityserviceMenu)
renderer.Render("solidarity_service", w, r, files, state)
}
func (renderer *Renderer) SolidarityServiceBookingCreate( w http.ResponseWriter, r *http.Request) {
files:= renderer.ThemeConfig.GetStringSlice("views.solidarity_service.list.files")
state := NewState(r, renderer.ThemeConfig, solidarityserviceMenu)
renderer.Render("solidarity_service", w, r, files, state)
fmt.Println("renderer")
}