new.html.haml 327 B

1234567891011121314
  1. %h1 Create New Movie
  2. = form_tag movies_path do
  3. = label :movie, :title, 'Title'
  4. = text_field :movie, 'title'
  5. = label :movie, :rating, 'Rating'
  6. = select :movie, :rating, ['G','PG','PG-13','R','NC-17']
  7. = label :movie, :release_date, 'Released On'
  8. = date_select :movie, :release_date
  9. = submit_tag 'Save Changes'