Ce dépôt a été archivé le 2022-05-07 . Vous pouvez voir ses fichiers ou le cloner, mais pas ouvrir de ticket ou de demandes d'ajout, ni soumettre de changements.
2017-08-03 03:38:07 +02:00
{{ extends "layouts/index_admin" }}
{{ import "layouts/partials/helpers/errors" }}
2017-08-03 03:54:33 +02:00
{{block title()}}{{ if Form.ID > 0 }}{{ T("update_annoucement_panel") }}{{ else }}{{ T("create_annoucement_panel") }}{{ end }}{{end}}
2017-08-03 03:38:07 +02:00
{{ block content_body()}}
< div class = "results box" >
2017-08-03 03:54:33 +02:00
< h3 id = "clients" > {{ if Form.ID > 0 }}{{ T("update_annoucement_panel") }}{{ else }}{{ T("create_annoucement_panel") }}{{ end }}< / h3 >
< form style = "text-align:left;padding-left:10px;padding-right:10px;" method = "POST" action = "{{ if Form.ID > 0}}?id={{ Form.ID }}{{end}}" >
2017-08-03 03:38:07 +02:00
< div class = "form-group" >
< label for = "message" > {{ T("message")}}< / label >
< textarea name = "message" id = "message" class = "form-input up-input" placeholder = "{{ T(" message " ) } } " required > {{Form.Message}}< / textarea >
{{ yield errors(name="Message")}}
< / div >
< div class = "form-group" >
2017-11-02 04:07:44 +01:00
< label for = "duration" > {{ T("duration")}})< / label >
2017-11-02 04:24:33 +01:00
< input type = "text" name = "duration" id = "duration" class = "form-input up-input" value = "1" >
2017-11-02 04:07:44 +01:00
{{ yield errors(name="Duration")}}
2017-08-03 03:38:07 +02:00
< / div >
< button type = "submit" class = "form-input up-input btn-green" > {{ T("save_changes")}}< / button >
< / form >
< / div >
2017-11-02 04:07:44 +01:00
{{end}}