diff options
| -rw-r--r-- | app/views/stop_points/new.html.erb | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/app/views/stop_points/new.html.erb b/app/views/stop_points/new.html.erb index 3b2e86c41..e7f460c8c 100644 --- a/app/views/stop_points/new.html.erb +++ b/app/views/stop_points/new.html.erb @@ -6,11 +6,10 @@ <%= form.input :stop_area_id, :label => t('.select_area'),:input_html => { :"data-pre" => [].to_json } %> <% 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 %> + <%= form.action :cancel, :as => :link %> + <% end %> </div> <% end %> |
