Sha256: b9f56e950724d85fad79999974e55f77a8f697d64515407a2e53b95db98848f7
Contents?: true
Size: 1.15 KB
Versions: 20
Compression:
Stored size: 1.15 KB
Contents
:javascript $(function(){ $('.contact_form').validate(); }); %p %h3= model.title - if(flash['error']) .error= flash('error') %form{ :class => 'contact_form', :id => 'contact_form_'+model.id.to_s, :action => route_to(:contactforms, :mailer, model.id), :method => 'POST' } %label{ :for => 'contact_from'} Your Name %input{ :type => 'text', :class => 'required', :minlength => '4', :maxlength => '80', :id => 'contact_from', :name => 'contact_from' } %div.contact_phone %label{ :for => 'contact_from'} Your Phone %input{ :type => 'text', :class => '', :id => 'contact_phone', :name => 'contact_phone', :value => '' } %label{ :for => 'contact_email_address'} Your E-mail %input{ :type => 'text', :class => 'email required', :id => 'contact_email_address', :name => 'contact_email_address' } %input{ :type => 'hidden', :id => 'r', :name => 'r', :value => packet['route.return_path'] } %label{ :for => 'contact_message'} Message %textarea{ :class =>'required', :id => 'contact_message', :name => 'contact_message', :minlength => '6', :maxlength => '300' }= " " %input{ :type => 'submit', :value => 'Submit' }
Version data entries
20 entries across 20 versions & 2 rubygems