Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Commit

Permalink
Improved new form action html
Browse files Browse the repository at this point in the history
  • Loading branch information
marlonbaeten authored Aug 31, 2016
1 parent e97bf57 commit d090da5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{{ form_widget(form) }}
{% block crudify_form_actions %}
<hr>
<div>
<div class="crudify-form-actions">
<button name="action" value="index" type="submit" class="btn btn-primary click-disable">
<span class="fa fa-save"></span>
{{ 'Save'|trans({}, definition.translationDomain) }}
Expand All @@ -28,7 +28,7 @@
<span class="fa fa-save"></span>
{{ 'Save and Continue Editing'|trans({}, definition.translationDomain) }}
</button>
<a href="{{ crudify_action('index', definition) }}" class="btn pull-right">
<a href="{{ crudify_action('index', definition) }}" class="btn btn-link pull-right">
<span class="fa fa-times"></span>
{{ 'Cancel'|trans({}, definition.translationDomain) }}
</a>
Expand Down

0 comments on commit d090da5

Please sign in to comment.