Sha256: 11f11125e1933efafdb33966542d488d7d228d7600852f3fa8b1dc6f0137b732

Contents?: true

Size: 1.55 KB

Versions: 3

Compression:

Stored size: 1.55 KB

Contents

<%%= form_for @setting, :url => refinery.<%= namespacing.underscore %>_admin_setting_path(@setting) do |f| %>

  <p>
    <%%= t('.explanation') %>
  </p>
  <p>
    <%%= t('.below_edit_email_sent') %>
  </p>
  <table id='<%= singular_name %>'>
    <tr>
      <td>
        <label class='stripped'><%%= t('.to') %></label>
      </td>
      <td>
        <%%= t('.the_customer_making_<%= singular_name %>') %>
      </td>
    </tr>
    <tr>
      <td>
        <label class='stripped'><%%= t('.from') %></label>
      </td>
      <td>
        <%%= "#{Refinery::Core.site_name} &lt;no-reply@#{request.domain}&gt;".html_safe %>
      </td>
    </tr>
    <tr>
      <td>
        <%%= label_tag "setting[subject[#{locale.to_s}]]", t('.subject'), :class => 'stripped' %>
      </td>
      <td>
        <%%= text_field_tag "setting[subject[#{locale.to_s}]]", Refinery::<%= namespacing %>::Setting.confirmation_subject, :class => 'widest' %>
      </td>
    </tr>
    <tr>
      <td valign='top'>
        <%%= label_tag "setting[message[#{locale.to_s}]]", t('.message'), :class => 'stripped' %>
      </td>
      <td>
        <%%= text_area_tag "setting[message[#{locale.to_s}]]", Refinery::<%= namespacing %>::Setting.confirmation_message, :rows => "7", :class => 'widest' %>
        <br/>
        <em><%%= t('.note') %></em>
      </td>
    </tr>
  </table>

  <%%= render '/refinery/admin/form_actions', :f => f,
             :continue_editing => false,
             :cancel_url => refinery.<%= namespacing.underscore %>_admin_<%= plural_name %>_url,
             :hide_delete => true %>
<%% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
refinerycms-forms-2.0.0 lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/settings/_confirmation_email_form.html.erb
refinerycms-forms-1.0.1 lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/settings/_confirmation_email_form.html.erb
refinerycms-forms-1.0.0 lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/settings/_confirmation_email_form.html.erb