saasbook

resource_form_helper.html.haml

Apr 2nd, 2014
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.22 KB | None | 0 0
  1. = form_for @movie do |m|
  2.   = m.label :title
  3.   = m.text_field :title
  4.   = m.label :rating
  5.   = select :movie, :rating, ['G','PG','PG-13','R','NC-17']
  6.   = m.label :release_date
  7.   = date_select :movie, :release_date
  8.   = m.submit
Add Comment
Please, Sign In to add comment