Sha256: 61b73120fcb159a38fa0b5f5892b31c83026630c4b003508886127a02cb8b98f

Contents?: true

Size: 642 Bytes

Versions: 3

Compression:

Stored size: 642 Bytes

Contents

/ = simple_form_for @contact_message, url: enjoy_feedback_contacts_path do |f|
= simple_form_for @contact_message, url: enjoy_feedback_contacts_path, html: {data: {remote: true }} do |f|
  = f.input :name
  = f.input :email
  = f.input :phone
  = f.input :content, as: :text
  - if Enjoy::Feedback.config.captcha 
    - if Enjoy::Feedback.config.recaptcha_support
      .input
        - if @recaptcha_error
          span.error.recaptcha_error= @recaptcha_error
        = recaptcha_tags 
    - elsif Enjoy::Feedback.config.simple_captcha_support
      = f.input :captcha, as: :simple_captcha, label: false
      
  = f.submit t('enjoy.send')

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
enjoy_cms_feedback-0.4.1 app/views/enjoy/feedback/contacts/_form.html.slim
enjoy_cms_feedback-0.4.0 app/views/enjoy/feedback/contacts/_form.html.slim
enjoy_cms_feedback-0.4.0.beta3 app/views/enjoy/feedback/contacts/_form.html.slim