diff options
| author | Luc Donnet | 2012-06-25 16:43:27 +0200 |
|---|---|---|
| committer | Luc Donnet | 2012-06-25 16:43:27 +0200 |
| commit | 9c2c172d4ab04d6511ab614f943a776a356c1f07 (patch) | |
| tree | d685b01b4e8253dc1558c2fa4b5937434cc95d92 /app/views/journey_patterns | |
| parent | 39f4264afd25bfc8fbe3d500975fe7adc7d508c7 (diff) | |
| download | chouette-core-9c2c172d4ab04d6511ab614f943a776a356c1f07.tar.bz2 | |
Update version of formtastic to 2.1
Diffstat (limited to 'app/views/journey_patterns')
| -rw-r--r-- | app/views/journey_patterns/_form.html.erb | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/app/views/journey_patterns/_form.html.erb b/app/views/journey_patterns/_form.html.erb index b6c37ab1b..850998830 100644 --- a/app/views/journey_patterns/_form.html.erb +++ b/app/views/journey_patterns/_form.html.erb @@ -15,10 +15,9 @@ <% 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 %> + <%= form.action :cancel, :as => :link %> + <% end %> <% end %> |
