Sha256: d6bb99ac8a9cbd3fb6a1bd817ba7fe012a6f42dda55f9a3e77583577d332193a
Contents?: true
Size: 1.24 KB
Versions: 6
Compression:
Stored size: 1.24 KB
Contents
:javascript $(function(){ $('#donate_form').validate(); }); %p - if(flash['error']) .error= flash('error') %form{ :class => 'donate_form', :id => 'donate_form', :action => route_to(:donations, :process), :method => 'POST' } %label{ :for => 'donor_name'} Your Name %input{ :type => 'text', :minlength => '4', :maxlength => '80', :id => 'donor_name', :name => 'donor_name', :class => 'required' } %div.donor_phone %label{ :for => 'donor_phone'} Your Phone %input{ :type => 'text', :minlength => '4', :maxlength => '80', :id => 'donor_phone', :name => 'donor_phone', :value => '' } %label{ :for => 'donor_company'} Your Company %input{ :type => 'text', :minlength => '4', :maxlength => '180', :id => 'donor_company', :name => 'donor_company', :value => '' } %label{ :for => 'donor_email'} Your E-mail %input{ :type => 'text', :class => 'email', :id => 'donor_email', :name => 'donor_email' } %label{ :for => 'donation_amount'} Donation Amount: $ %input{ :type => 'text', :class => 'donation_amount', :id => 'donation_amount', :name => 'donation_amount' } %input{ :type => 'submit', :value => 'Submit' } %input{ :type => 'hidden', :id => 'r', :name => 'r', :value => packet['route.return_path'] }
Version data entries
6 entries across 6 versions & 2 rubygems