Implement playlist edit feature

* Display playlists as links in index
* Move playlist form in a partial
This commit is contained in:
Thibault Jouan
2011-07-12 11:34:40 +00:00
parent 33f979b573
commit 301205d3f0
10 changed files with 98 additions and 13 deletions

View File

@@ -1,4 +1 @@
= form_for @playlist do |f|
= f.label :name
= f.text_field :name
= f.submit 'Create'
= render 'form', :submit_text => 'Create'