Sha256: 131024788052af2bf2a9eb16f56cfac70fe475eb72313a0e1dedf2f54edb2bf5

Contents?: true

Size: 407 Bytes

Versions: 26

Compression:

Stored size: 407 Bytes

Contents

= form.fields_for(:email_review, email_review) do |f|
  = f.hidden_field :template_name
  = f.text_area :body, required: true, rows: 10

  = collapse('Show / hide email variables') do
    %p The available variables are:

    %ul
      - Array(f.object.email_template&.template_variables).each do |variable|
        %li {{ #{variable} }}

    %small.text-muted Only a developer can add additional variables

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
effective_email_templates-1.9.0 app/views/effective/email_reviews/_fields.html.haml
effective_email_templates-1.8.0 app/views/effective/email_reviews/_fields.html.haml
effective_email_templates-1.7.0 app/views/effective/email_reviews/_fields.html.haml
effective_email_templates-1.6.0 app/views/effective/email_reviews/_fields.html.haml
effective_email_templates-1.5.1 app/views/effective/email_reviews/_fields.html.haml
effective_email_templates-1.5.0 app/views/effective/email_reviews/_fields.html.haml
effective_email_templates-1.4.1 app/views/effective/email_reviews/_fields.html.haml
effective_email_templates-1.4.0 app/views/effective/email_reviews/_fields.html.haml
effective_email_templates-1.3.0 app/views/effective/email_reviews/_fields.html.haml
effective_email_templates-1.2.3 app/views/effective/email_reviews/_fields.html.haml
effective_email_templates-1.2.2 app/views/effective/email_reviews/_fields.html.haml
effective_email_templates-1.2.1 app/views/effective/email_reviews/_fields.html.haml
effective_email_templates-1.2.0 app/views/effective/email_reviews/_fields.html.haml
effective_email_templates-1.1.4 app/views/effective/email_reviews/_fields.html.haml
effective_email_templates-1.1.3 app/views/effective/email_reviews/_fields.html.haml
effective_email_templates-1.1.2 app/views/effective/email_reviews/_fields.html.haml
effective_email_templates-1.1.1 app/views/effective/email_reviews/_fields.html.haml
effective_email_templates-1.1.0 app/views/effective/email_reviews/_fields.html.haml
effective_email_templates-1.0.13 app/views/effective/email_reviews/_fields.html.haml
effective_email_templates-1.0.12 app/views/effective/email_reviews/_fields.html.haml