diff --git a/template/components/content_pagination.go b/template/components/content_pagination.go deleted file mode 100644 index 87434a2..0000000 --- a/template/components/content_pagination.go +++ /dev/null @@ -1,9 +0,0 @@ -package components - -type ContentPagination struct { - PageStartRecord int - PageEndRecord int - TotalRecords int - PrevLink string - NextLink string -} diff --git a/template/components/content_pagination.html b/template/components/content_pagination.html deleted file mode 100644 index a51e09d..0000000 --- a/template/components/content_pagination.html +++ /dev/null @@ -1,10 +0,0 @@ -{{define "content_pagination"}} -
-{{end}} \ No newline at end of file diff --git a/template/components/form_input.go b/template/components/form_input.go index 0ee8150..d1264ec 100644 --- a/template/components/form_input.go +++ b/template/components/form_input.go @@ -11,10 +11,4 @@ type FormInput struct { IsDisabled bool Autocomplete bool IsRequired bool - CustomAtt []CustomAtt -} - -type CustomAtt struct { - AttName string - AttValue string } diff --git a/template/components/form_input.html b/template/components/form_input.html index adf33e8..6103b76 100644 --- a/template/components/form_input.html +++ b/template/components/form_input.html @@ -14,11 +14,6 @@ {{if ne .Value ""}} value="{{.Value}}" {{end}} - {{if .CustomAtt }} - {{range $options := .CustomAtt}} - {{$options.AttName}}="{{$options.AttValue}}" - {{end}} - {{end}} aria-describedby="{{.ID}}Help"> {{if ne .Hint ""}}{{.Hint}}{{end}} {{if ne .Error ""}}