Commit 97bae885215a1471a0a550ad32dd8b5e7e85d964
1 parent
b4badb69
Exists in
master
and in
29 other branches
Fixes Cancel button
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
plugins/custom_forms/views/custom_forms_plugin_profile/show.html.erb
@@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
13 | <%= render :partial => 'shared/form_submission', :locals => {:f => f} %> | 13 | <%= render :partial => 'shared/form_submission', :locals => {:f => f} %> |
14 | 14 | ||
15 | <% button_bar do %> | 15 | <% button_bar do %> |
16 | - <%= submit_button :save, _('Save'), :cancel => {:action => 'index'} %> | 16 | + <%= submit_button :save, _('Save'), :cancel => {:controller => :profile, :profile => profile.identifier} %> |
17 | <% end %> | 17 | <% end %> |
18 | <% end %> | 18 | <% end %> |
19 | <% else %> | 19 | <% else %> |