Sha256: e06e24a7dbade855e08b64f4ba5826b1ea6aecfb3561124c817c897bc7fb5dcd
Contents?: true
Size: 829 Bytes
Versions: 1
Compression:
Stored size: 829 Bytes
Contents
= content_for :head do = javascript_include_tag 'jquery-validate/jquery.validate.pack' :javascript $(function(){ $('form').validate(); }); = form_for @feedback do |f| -if @feedback.errors.any? #errorExplanation %h2= "#{pluralize(@feedback.errors.count, "error")} prohibited this feedback from being saved:" %ul - @feedback.errors.full_messages.each do |msg| %li= msg .field = f.label :name = f.text_field :name .field = f.label :phone = f.text_field :phone .field = f.label :email = f.text_field :email .field = f.label :subject = f.text_field :subject .field = label_tag "Would you like a response?" = f.check_box :want_response .field = f.label :message = f.text_area :message .actions = f.submit 'Send feedback'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wheels-0.1.10 | app/views/feedbacks/_form.html.haml |