func (VS *Server) showEditServiceType(c *gin.Context) {
	id, b := VS.getIDParamFromURL(c, "id")
	if !b {
		return
	}
	serType := VS.getServiceTypeByID(c, id, "h_data", "showEditServiceType", "serType := VS.getServiceTypeByID", true)
	render(c, gin.H{
		"serType": serType,
		"edit":    true,
	}, "form-service-type.html")
}
// Shows the page with the information of the Service Type to modify
Shows the page with the information of the Service Type to modify
// Shows the page with the information of the Service Type to modify
func (VS *Server) showEditServiceType(c *gin.Context) {
	id, b := VS.getIDParamFromURL(c, "id")
	if !b {
		return
	}
	serType := VS.getServiceTypeByID(c, id, "h_data", "showEditServiceType", "serType := VS.getServiceTypeByID", true)
	render(c, gin.H{
		"serType": serType,
		"edit":    true,
	}, "form-service-type.html")
}
func ( VS * Server ) showEditServiceType ( c * gin . Context ) { id , b := VS . getIDParamFromURL ( c , " " ) if ! b { return } serType := VS . getServiceTypeByID ( c , id , " " , " " , " " , true ) render ( c , gin . H { " " : serType , " " : true , } , " " ) }
Shows the page with the information of the Service Type to modify
Shows the page with the information of the Service Type to modify