76 lines
1.9 KiB
Twig
76 lines
1.9 KiB
Twig
{% extends "TrinityAdminBundle:BaseAdmin:new.html.twig" %}
|
|
|
|
{% block title %}
|
|
{% endblock %}
|
|
|
|
{% block menu %}
|
|
{% endblock %}
|
|
|
|
{% block panel %}
|
|
{% endblock %}
|
|
|
|
{% block breadcrumb %}
|
|
{% endblock %}
|
|
|
|
{% block stylesheets %}
|
|
|
|
{{ parent() }}
|
|
|
|
<style type="text/css">
|
|
body {
|
|
padding:0;
|
|
padding-left:10px;
|
|
}
|
|
.form-horizontal .controls {
|
|
margin-left: 10px;
|
|
}
|
|
|
|
#crud #media > div > label {
|
|
color: #555555;
|
|
display: inline-block;
|
|
font-weight: bold;
|
|
margin-right: 20px;
|
|
text-align: right;
|
|
width: 140px;
|
|
}
|
|
#crud #media > div > select {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
#crud .control-group > div > div.fileupload {
|
|
padding-left: 145px;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
#crud .control-group > div > div.fileupload .btn-file {
|
|
margin-bottom: 6px;
|
|
}
|
|
.footer-fixed-add > div {
|
|
padding-left: 400px;
|
|
}
|
|
</style>
|
|
{% endblock %}
|
|
|
|
{% block body %}
|
|
<div id="crud">
|
|
<div class="row container-fluid">
|
|
{% render controller(bundle_name ~ ":" ~ controller_name ~ ":flash") %}
|
|
|
|
<form action="{{ path(route_prefix ~ 'new') }}" method="post" {{ form_enctype(form) }} class="form-horizontal">
|
|
|
|
{% include "TrinityAdminBundle:BaseAdmin:form.html.twig" %}
|
|
|
|
<div class="footer-fixed-add">
|
|
<div>
|
|
<a class="btn" href="{{ path(route_prefix ~ 'index') }}">
|
|
<i class="icon-chevron-left icon-espace-right"></i> {{ 'crud.form.buttons.back'|trans({}, 'TrinityAdminBundle') }}
|
|
</a>
|
|
|
|
<button type="submit" class="btn btn-primary btn-mini" name="edit_same"><i class="icon-white icon-ok icon-espace-right"></i>{{ 'crud.form.buttons.edit_same'|trans({}, 'TrinityAdminBundle') }}</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|