func (VS *Server) showEditType(c *gin.Context) {
	//Get the id of the Type from the Link
	id, b := VS.getIDParamFromURL(c, "id")
	if !b {
		return
	}
	catType := VS.getCategoryTypeByID(c, id, "h_data", "showEditType", "catType := VS.getCategoryTypeByID")
	render(c, gin.H{
		"edit":    true,
		"catType": catType,
	}, "form-type.html")
}
// Shows the page to modify the information of the new Category Type
Shows the page to modify the information of the new Category Type
// Shows the page to modify the information of the new Category Type
func (VS *Server) showEditType(c *gin.Context) {
	id, b := VS.getIDParamFromURL(c, "id")
	if !b {
		return
	}
	catType := VS.getCategoryTypeByID(c, id, "h_data", "showEditType", "catType := VS.getCategoryTypeByID")
	render(c, gin.H{
		"edit":    true,
		"catType": catType,
	}, "form-type.html")
}
func ( VS * Server ) showEditType ( c * gin . Context ) { id , b := VS . getIDParamFromURL ( c , " " ) if ! b { return } catType := VS . getCategoryTypeByID ( c , id , " " , " " , " " ) render ( c , gin . H { " " : true , " " : catType , } , " " ) }
Shows the page to modify the information of the new Category Type
Shows the page to modify the information of the new Category Type
//Get the id of the Type from the Link