{{- /*gotype: crud-generator/html_components.EditItem*/ -}} {{ define "editItem" }}

{{.Title}}

{{ if .HasFileUpload}} {{ end }}
{{ range .Inputs }} {{ if eq .Type "text" }} {{ template "textInput" . }} {{ end }} {{ if eq .Type "textarea" }} {{ template "textareaInput" . }} {{ end }} {{ if eq .Type "int" }} {{ template "intInput" . }} {{ end }} {{ if eq .Type "float" }} {{ template "floatInput" . }} {{ end }} {{ if eq .Type "enum" }} {{ template "selectInput" . }} {{ end }} {{ if eq .Type "dateTime" }} {{ template "dateTimeInput" . }} {{ end }} {{ if eq .Type "bool" }} {{ template "booleanInput" . }} {{ end }} {{ if eq .Type "image" }} {{ template "imageInput" . }} {{ end }} {{ end }}
{{ end }}