aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlban Peignier2015-08-18 22:51:46 +0200
committerAlban Peignier2015-08-19 12:19:29 +0200
commitd9ff49e79e7d5d55a46eff7aadd6f353e185ae3b (patch)
treea537decd6ca6f7bb1cd9bbb8649eb8343001a6d9
parent046fe8e29c28937e6c4dd22800e05dd459b9d6e1 (diff)
downloadchouette-core-d9ff49e79e7d5d55a46eff7aadd6f353e185ae3b.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 %>