Move right submit button in mobile new action

This commit is contained in:
Matteo Giaccone 2014-12-15 23:21:34 +00:00
parent b9f3b9685f
commit bd78ad0670
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 %>