Sha256: cfcc08aee2bdf40b87980c7180aaa53220b0543af925e351a734fcc84eec5112

Contents?: true

Size: 1.91 KB

Versions: 16

Compression:

Stored size: 1.91 KB

Contents

= stylesheet_link_tag('rad_social/rad_screen')
= javascript_include_tag("http://www.google.com/recaptcha/api/js/recaptcha_ajax.js")
= javascript_include_tag("lib/rad_social/rad_email")

.rad-dialog-titlebar
  %span.rad-dialog-title
    Email a Friend

%form{:id=>'rad-social-email-form', :class=>"rad-email-form"}
  .rad-email-error
  %input{:type=>'hidden', :id=> "auth_token", :value=>"#{form_authenticity_token}"}
  %div.form-row
    %label.form-label{:type=>"label", :for=>"from"}
      From Email
    %div.form-fields
      %input{:class => "input-textbox", :type => "text", :id => "rs-from", :name => "from", :size => 30, :maxlength => 35}
  %div.form-row
    %label.form-label{:type=>"label", :for=>"from_name"}
      From Name
    %div.form-fields
      %input{:class => "input-textbox", :type => "text", :id => "rs-from_name", :name => "from_name", :size => 30, :maxlength => 35}
  %div.form-row
    %label.form-label{:type=>"label", :for=>"to"}
      To Email
    %div.form-fields
      %input{:class => "input-textbox", :type => "text", :id => "rs-to", :name => "to", :size => 30, :maxlength => 35}
  %div.form-row
    %label.form-label{:type=>"label", :for=>"message"}
      Message
    %div.form-fields
      %textarea{:class => "input-textbox", :id => "rs-message", :name => "message", :rows => 5, :cols => 40}
        = email_message
  %input{:type=>"hidden", :name=>"subject", :value=> email_subject}
  %input{:type=>"hidden", :id=>"rs-base-message", :value=> email_message}
  #recaptcha-container.captcha-container
    = recaptcha_tags :public_key => Rails.configuration.captcha_public_key, :display => {:theme => 'clean'}
    #recaptcha_image
    #recaptcha_response_field{:name => 'recaptcha_response_field'}
  %input{:type=>"hidden", :name=>"submit_url", :value=> email_action_url}
  %input.button.primary-button{:id => "rad_email_submit", :type=>:button ,:value=>"Submit"}
  .loader

#rad-confirmation.hidden
  Your message has been sent.

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
trusty-rad-social-extension-2.2.2 app/views/rad_social_mailer/social_mail_form.html.haml
trusty-rad-social-extension-2.2.1 app/views/rad_social_mailer/social_mail_form.html.haml
trusty-rad-social-extension-2.2.0 app/views/rad_social_mailer/social_mail_form.html.haml
trusty-rad-social-extension-2.1.0 app/views/rad_social_mailer/social_mail_form.html.haml
trusty-rad-social-extension-2.0.2 app/views/rad_social_mailer/social_mail_form.html.haml
trusty-rad-social-extension-2.0.1 app/views/rad_social_mailer/social_mail_form.html.haml
trusty-rad-social-extension-2.0.0.pre.beta app/views/rad_social_mailer/social_mail_form.html.haml
trusty-rad-social-extension-1.1.4 app/views/rad_social_mailer/social_mail_form.html.haml
trusty-rad-social-extension-1.1.3 app/views/rad_social_mailer/social_mail_form.html.haml
trusty-rad-social-extension-1.1.2 app/views/rad_social_mailer/social_mail_form.html.haml
trusty-rad-social-extension-1.1.1 app/views/rad_social_mailer/social_mail_form.html.haml
trusty-rad-social-extension-1.1.0 app/views/rad_social_mailer/social_mail_form.html.haml
trusty-rad-social-extension-1.0.10 app/views/rad_social_mailer/social_mail_form.html.haml
trusty-rad-social-extension-1.0.9 app/views/rad_social_mailer/social_mail_form.html.haml
trusty-rad-social-extension-1.0.8 app/views/rad_social_mailer/social_mail_form.html.haml
trusty-rad-social-extension-1.0.7 app/views/rad_social_mailer/social_mail_form.html.haml