Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %h2 Edit Description #{@movie.title}
- =form_tag movie_path, :method => :PUT do
- = label :movie, :title, 'Title'
- = text_field :movie, :title
- = label :movie, :rating, 'Rating'
- = select :movie, :rating, ['G','PG','PG-13','R','NC-17']
- = label :movie, :release_date, 'Released On'
- = date_select :movie, :release_date
- = label :movie, :description, 'Description'
- = text_field :movie, :description
- ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement