Merge pull request #1737 from matjack1/mobile-submit

Move right submit button in mobile new action
This commit is contained in:
Dan Rice 2014-12-15 23:08:37 -05:00
commit f3946ac1d2
2 changed files with 7 additions and 1 deletions

View file

@ -284,3 +284,8 @@ input#todo_description, input#tag_list, textarea#todo_notes, select#todo_project
div.note_wrapper p {
display: inline;
}
.text-right {
text-align: right;
}

View file

@ -1,5 +1,6 @@
<%= form_tag todos_path(:format => 'm'), :method => :post do %>
<%= render :partial => 'edit_form' %>
<p><input type="submit" value="<%= t('common.create') %>" tabindex="12" accesskey="#" /></p>
<p class="text-right"><input type="submit" value="<%= t('common.create') %>" tabindex="12" accesskey="#" /></p>
<% end -%>
<%= link_to t('common.back'), @return_path %>