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

Version Path
orange-more-0.5.8 lib/orange-more/contactforms/views/contactforms/contactform.haml
orange-more-0.5.7 lib/orange-more/contactforms/views/contactforms/contactform.haml
orange-0.5.5 lib/orange-more/contactforms/views/contactforms/contactform.haml
orange-0.5.4 lib/orange-more/contactforms/views/contactforms/contactform.haml
orange-0.5.3 lib/orange-more/contactforms/views/contactforms/contactform.haml
orange-0.5.2 lib/orange-more/contactforms/views/contactforms/contactform.haml
orange-0.5.1 lib/orange-more/contactforms/views/contactforms/contactform.haml
orange-0.4.0 lib/orange-more/contactforms/views/contactforms/contactform.haml
orange-0.3.9 lib/orange-more/contactforms/views/contactforms/contactform.haml
orange-0.3.8 lib/orange-more/contactforms/views/contactforms/contactform.haml
orange-0.3.7 lib/orange-more/contactforms/views/contactforms/contactform.haml
orange-0.3.6 lib/orange-more/contactforms/views/contactforms/contactform.haml
orange-0.3.5 lib/orange-more/contactforms/views/contactforms/contactform.haml
orange-0.3.4 lib/orange-more/contactforms/views/contactforms/contactform.haml
orange-0.3.3 lib/orange-more/contactforms/views/contactforms/contactform.haml
orange-0.3.2 lib/orange-more/contactforms/views/contactforms/contactform.haml
orange-0.3.1 lib/orange-more/contactforms/views/contactforms/contactform.haml
orange-0.3.0 lib/orange-more/contactforms/views/contactforms/contactform.haml
orange-0.2.11 lib/orange-more/contactforms/views/contactforms/contactform.haml
orange-0.2.9 lib/orange-more/contactforms/views/contactforms/contactform.haml