add accesskey to submit button in mobile view

in mobile view when you edit an action, pressing # will submit changes
This commit is contained in:
Reinier Balt 2008-08-19 22:24:00 +02:00
parent 88ea02d29a
commit 6e8ea419f9

View file

@ -1,5 +1,5 @@
<% form_tag formatted_todo_path(@todo, :m), :method => :put do %>
<%= render :partial => 'edit_mobile', :locals => { :parent_container_type => "show_mobile" } %>
<p><input type="submit" value="Update" tabindex="6" /></p>
<p><input type="submit" value="Update" tabindex="6" accesskey="#" /></p>
<% end -%>
<%= link_to "Cancel", @return_path %>