update button & navbar
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{{ form_start(form) }}
|
||||
{{ form_widget(form) }}
|
||||
<button class="btn">{{ button_label|default('save'|trans) }}</button>
|
||||
<button class="btn btn-primary">{{ button_label|default('save'|trans) }}</button>
|
||||
{{ form_end(form) }}
|
||||
|
@@ -6,7 +6,7 @@
|
||||
<h1>{{ 'edit_species'|trans }}</h1>
|
||||
{{ include('species/_form.html.twig', {'button_label': 'update'|trans}) }}
|
||||
|
||||
<a href="{{ path('app_species_index') }}">{{ 'back_to_list'|trans }}</a>
|
||||
<a class="btn btn-warning mb-4 mt-4" href="{{ path('app_species_index') }}">{{ 'back_to_list'|trans }}</a>
|
||||
|
||||
{{ include('species/_delete_form.html.twig') }}
|
||||
{% endblock %}
|
||||
|
@@ -7,5 +7,5 @@
|
||||
|
||||
{{ include('species/_form.html.twig') }}
|
||||
|
||||
<a href="{{ path('app_species_index') }}">{{ 'back_to_list'|trans }}</a>
|
||||
<a class="btn btn-warning mb-4 mt-4" href="{{ path('app_species_index') }}">{{ 'back_to_list'|trans }}</a>
|
||||
{% endblock %}
|
||||
|
@@ -27,9 +27,9 @@
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
<a href="{{ path('app_species_index') }}">{{ 'back_to_list'|trans }}</a>
|
||||
<a class="btn btn-warning mb-4 mt-4" href="{{ path('app_species_index') }}">{{ 'back_to_list'|trans }}</a>
|
||||
|
||||
<a href="{{ path('app_species_edit', {'id': species.id}) }}">{{ 'edit'|trans }}</a>
|
||||
<a class="btn btn-success mb-4 mt-4" href="{{ path('app_species_edit', {'id': species.id}) }}">{{ 'edit'|trans }}</a>
|
||||
|
||||
{{ include('species/_delete_form.html.twig') }}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user