Files
Phraseanet/templates/web/admin/structure.html.twig
Romain Neutron e7421e1fdd Fix twig tags
2013-12-03 20:02:39 +01:00

36 lines
1.2 KiB
Twig
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{% if updateOk %}
<div class="alert alert-info">
<a class="close" data-dismiss="alert" href="#">×</a>
<h4 class="alert-heading">{{ 'Updated structure' | trans }}</h4>
{{ 'Structure has been successfully updated' | trans }}
</div>
{% endif %}
{% if errorsStructure %}
<div class="alert alert-error">
<a class="close" data-dismiss="alert" href="#">×</a>
<h4 class="alert-heading">{{ 'Structure errors' | trans }}</h4>
{{ 'admin::base: xml invalide, les changements ne seront pas appliques' | trans }}
</div>
<div class="well">
{% for error in errors %}
<div>
<span class="badge badge-important">{{ loop.index }}</span>
{{ error }}
</div>
{% endfor %}
</div>
{% endif %}
<div class="page-header">
<h1>{{ 'admin::base: structure' | trans }}</h1>
</div>
<form method="POST" action="{{ path('database_submit_stucture', { 'databox_id' : databox.get_sbas_id() }) }}">
<TEXTAREA nowrap style="width:99%; height:450px; white-space:pre" name="structure">{{ structure }}</TEXTAREA>
<div class="form-actions">
<button class="btn btn-primary" type="submit">{{ 'boutton::valider' | trans }}</button>
</div>
</form>