aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/exports/new.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/exports/new.html.erb')
-rw-r--r--app/views/exports/new.html.erb9
1 files changed, 4 insertions, 5 deletions
diff --git a/app/views/exports/new.html.erb b/app/views/exports/new.html.erb
index 16c6e9720..82409955b 100644
--- a/app/views/exports/new.html.erb
+++ b/app/views/exports/new.html.erb
@@ -9,11 +9,10 @@
<% end %>
<% end %>
- <%= form.buttons do %>
- <%= form.commit_button true %>
- <li><%= t('or') %></li>
- <li><%= link_to t('cancel'), :back %></li>
- <% end %>
+ <%= form.actions do %>
+ <%= form.action :submit, :as => :button , :label => t( 'formtastic.export' ) %>
+ <%= form.action :cancel, :as => :link %>
+ <% end %>
<% end %>
<%= javascript_include_tag new_referential_export_path(@referential, :format => :js) %>