21 lignes
1,2 Kio
HTML
21 lignes
1,2 Kio
HTML
{{ extends "layouts/index_admin" }}
|
|
{{ import "layouts/partials/helpers/errors" }}
|
|
{{block title()}}{{ if Form.ID > 0 }}{{ T("update_annoucement_panel") }}{{ else }}{{ T("create_annoucement_panel") }}{{ end }}{{end}}
|
|
{{ block content_body()}}
|
|
<div class="results box">
|
|
<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}}">
|
|
<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="duration">{{ T("duration")}})</label>
|
|
<input type="text" name="duration" id="duration" class="form-input up-input" value="1">
|
|
{{ yield errors(name="Duration")}}
|
|
</div>
|
|
<button type="submit" class="form-input up-input btn-green">{{ T("save_changes")}}</button>
|
|
</form>
|
|
</div>
|
|
{{end}}
|