aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlban Peignier2015-08-18 22:51:46 +0200
committerAlban Peignier2015-08-18 22:51:46 +0200
commita8eff16982a5e9d87414b6ca908f855371b184ba (patch)
tree1630f6a4a6a60a23a1a28b9e5834dcf44a7941ba
parent76e84f6771939a7de888fff55045ec54a66528dc (diff)
downloadchouette-core-a8eff16982a5e9d87414b6ca908f855371b184ba.tar.bz2
Fixes submit and cancel link order in users/form. Mantis 37046
-rw-r--r--app/views/users/_form.html.erb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/users/_form.html.erb b/app/views/users/_form.html.erb
index 74de43cef..ed9d3d0ad 100644
--- a/app/views/users/_form.html.erb
+++ b/app/views/users/_form.html.erb
@@ -1,10 +1,10 @@
<%= simple_form_for [:organisation, @user], html: {class: 'form-horizontal' } do |form| %>
- <%= form.input :name %>
+ <%= form.input :name %>
<%= form.input :email %>
-
+
<div class="form-actions">
- <%= link_to t("cancel"), organisation_path, :class => "btn btn-default" %>
<%= form.button :submit, :as => :button %>
+ <%= link_to t("cancel"), organisation_path %>
</div>
<% end %>