21 lignes
Pas d'EOL
1,3 Kio
HTML
21 lignes
Pas d'EOL
1,3 Kio
HTML
{{ extends "layouts/index_admin" }}
|
|
{{ import "layouts/partials/helpers/errors" }}
|
|
{{block title()}}{{ if Form.ID != "" }}{{ T("update_annoucement_panel") }}{{ else }}{{ T("create_annoucement_panel") }}{{ end }}{{end}}
|
|
{{ block content_body()}}
|
|
<div class="results box">
|
|
<h3 id="clients">{{ if Form.ID != "" }}{{ 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 != ""}}?id={{ Form.ID }}{{end}}">
|
|
<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">
|
|
<label for="delay">{{ T("delay")}} ({{ Form.Delay }} {{ T("days") }})</label>
|
|
<input type="text" name="delay" id="delay" class="form-input up-input" placeholder="{{ T("delay")}}" value="{{Form.Delay}}">
|
|
{{ yield errors(name="Delay")}}
|
|
</div>
|
|
<button type="submit" class="form-input up-input btn-green">{{ T("save_changes")}}</button>
|
|
</form>
|
|
</div>
|
|
{{end}} |