Skip to content

Commit

Permalink
updated filename for rails app
Browse files Browse the repository at this point in the history
  • Loading branch information
napcs committed Feb 18, 2012
1 parent 751a5c0 commit 63b9068
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/camp/rails.haml
Expand Up @@ -390,7 +390,7 @@
</ul>
</div>

Now create a similar file to list the items of the list in `app/views/items.mobile.erb` with this content:
Now create a similar file to list the items of the list in `app/views/index.mobile.erb` with this content:

<div data-role="header">
<h1><%= @list.name %></h1>
Expand All @@ -400,7 +400,7 @@
<ul id="mobile_items" data-role="listview">
<% @items.each do |item| %>
<li>
<%=form_for [@list, item], :format => "json", :remote => true do |f| %>
<%=form_for [@list, item], :format => "json" do |f| %>
<%=f.check_box :done %>
<%=f.label :done, item.name %>
<% end %>
Expand Down

0 comments on commit 63b9068

Please sign in to comment.