* added delete activity form #71 * fixed stop button, added permission checks around action buttons #70 * do not allow to start hidden activities #33 * do not allow to start record for hidden project or customer #27 #32
This commit is contained in:
20
app/Resources/views/default/_form_delete.html.twig
Normal file
20
app/Resources/views/default/_form_delete.html.twig
Normal file
@@ -0,0 +1,20 @@
|
||||
<div class="box box-solid box-danger">
|
||||
<div class="box-header">
|
||||
<h3 class="box-title">{{ title|default('confirm.delete'|trans) }}</h3>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
{{ message|default('confirm.delete_message'|trans)|raw }}
|
||||
</div>
|
||||
{{ form_start(form) }}
|
||||
<div class="box-body">
|
||||
{{ form_widget(form) }}
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<input type="submit" value="{{ 'action.delete'|trans }}" class="btn btn-danger" />
|
||||
{% if back %}
|
||||
<a href="{{ back }}" class="btn btn-primary">{{ 'action.back'|trans }}</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{{ form_end(form) }}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user