2021-03-18 17:08:41 +01:00
|
|
|
<div class="modal-dialog">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
2021-03-24 17:09:13 +01:00
|
|
|
<h5 class="modal-title">
|
|
|
|
{{ 'New element'|trans }}
|
|
|
|
</h5>
|
2021-03-18 17:08:41 +01:00
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<form action="{{ path('admin_site_node_new', {node: node.id}) }}" id="form-node-new" method="POST">
|
2021-03-23 21:49:56 +01:00
|
|
|
{{ include('@Core/site/node_admin/_form.html.twig') }}
|
2021-03-18 17:08:41 +01:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
2021-03-24 17:09:13 +01:00
|
|
|
<button type="button" class="btn btn-secondary" data-dismiss="modal">{{ 'Cancel'|trans }}</button>
|
|
|
|
<button type="submit" form="form-node-new" class="btn btn-primary">{{ 'Save'|trans }}</button>
|
2021-03-18 17:08:41 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|