Permalink
Browse files

Fix field name in spine item model

  • Loading branch information...
1 parent 3907775 commit 93440a4b85c5e5c38c879774d1453fccfe9fe474 @aubreyrhodes committed Apr 24, 2012
@@ -1,3 +1,3 @@
class App.Item extends Spine.Model
- @configure 'Item', 'title', 'complete'
- @extend Spine.Model.Ajax
+ @configure 'Item', 'title', 'completed'
+ @extend Spine.Model.Ajax
@@ -16,8 +16,8 @@
<label>
<span>Complete</span>
<input
- type="checkbox" name="complete"
- <% if @complete: %>checked="checked"<% end %> />
+ type="checkbox" name="completed"
+ <% if @completed: %>checked="checked"<% end %> />
<br />
</label>
@@ -16,8 +16,8 @@
<label>
<span>Complete</span>
<input
- type="checkbox" name="complete"
- <% if @complete: %>checked="checked"<% end %> />
+ type="checkbox" name="completed"
+ <% if @completed: %>checked="checked"<% end %> />
<br />
</label>

0 comments on commit 93440a4

Please sign in to comment.