Changeset 851

Show
Ignore:
Timestamp:
05/16/08 15:13:56
Author:
lrbalt
Message:

fixes #700. Also restores mobile navigation that got lost in the rails2 merge

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tracks/app/views/todos/_edit_mobile.rhtml

    r823 r851  
     1<% @tag_list_text = ""  
     2   @tag_list_text = tag_list_text if @todo -%> 
    13<span class="errors"> 
    24<%= error_messages_for("todo") %> 
     
    1517<%= collection_select( "todo", "project_id", @projects, "id", "name", 
    1618                          {:include_blank => true}, {"tabindex" => 5} ) %> 
     19<h2><label for="tag_list">Tags (separate with commas)</label></h2> 
     20<%= text_field_tag "tag_list", @tag_list_text, :size => 30, :tabindex => 6 %>  
    1721<h2><label for="todo_due">Due</label></h2> 
    1822<%= date_select("todo", "due", :order => [:day, :month, :year], 
  • trunk/tracks/app/views/todos/new.m.erb

    r837 r851  
    33  <p><input type="submit" value="Create" tabindex="6" /></p> 
    44<% end -%> 
    5 <%= link_to "Back", formatted_todos_path(:m) %> 
     5<%= link_to "Back", @return_path %> 
  • trunk/tracks/app/views/todos/show.m.erb

    r837 r851  
    33  <p><input type="submit" value="Update" tabindex="6" /></p> 
    44<% end -%> 
    5 <% #= link_to "Back", formatted_todos_path(:m) %> 
     5<%= link_to "Cancel", @return_path %>