Sha256: 68a56f022317a959ad6bfb60c82e93d1b6a89fbb6c14d942efc774f265eacecf

Contents?: true

Size: 1.51 KB

Versions: 9

Compression:

Stored size: 1.51 KB

Contents

<%= form_for([:admin, @refinery_setting], :url => (@url_override || @url)) do |f| %>

  <p>
    <%= t('.explanation') %>
  </p>
  <p>
    <%= t('.below_edit_email_sent') %>
  </p>
  <table id='inquiry'>
    <tr>
      <td>
        <label class='stripped'><%= t('.to') %></label>
      </td>
      <td>
        <%= t('.the_customer_making_inquiry') %>
      </td>
    </tr>
    <tr>
      <td>
        <label class='stripped'><%= t('.from') %></label>
      </td>
      <td>
        <%= "#{RefinerySetting[:site_name]} &lt;no-reply@#{request.domain(RefinerySetting.find_or_set(:tld_length, 1))}&gt;".html_safe %>
      </td>
    </tr>
    <tr>
      <td>
        <label class='stripped'><%= t('.subject') %></label>
      </td>
      <td>
        <%= text_field_tag 'subject', InquirySetting.confirmation_subject,
                           :class => 'widest' %>
      </td>
    </tr>
    <tr>
      <td valign='top'>
        <%= f.label :value, t('.message'),
                    :class => 'stripped' %>
      </td>
      <td>
        <%= f.text_area :value, :value => f.object.value, # required, we can't use :value
                        :rows => "5",
                        :class => 'widest' %>
        <br/>
        <em><%= t('.note') %></em>
      </td>
    </tr>
  </table>

  <%= render :partial => "/shared/admin/form_actions",
             :locals => {
               :f => f,
               :continue_editing => false,
               :cancel_url => admin_inquiries_url,
               :hide_delete => true
             } %>
<% end %>

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
cms-inquiries-1.0.3 app/views/admin/inquiry_settings/_confirmation_email_form.html.erb
cms-inquiries-1.0.2 app/views/admin/inquiry_settings/_confirmation_email_form.html.erb
refinerycms-inquiries-1.0.1 app/views/admin/inquiry_settings/_confirmation_email_form.html.erb
refinerycms-inquiries-1.0.0 app/views/admin/inquiry_settings/_confirmation_email_form.html.erb
refinerycms-inquiries-0.9.9.9 app/views/admin/inquiry_settings/_confirmation_email_form.html.erb
refinerycms-inquiries-0.9.9.8 app/views/admin/inquiry_settings/_confirmation_email_form.html.erb
refinerycms-inquiries-0.9.9.7 app/views/admin/inquiry_settings/_confirmation_email_form.html.erb
refinerycms-inquiries-0.9.9.6 app/views/admin/inquiry_settings/_confirmation_email_form.html.erb
refinerycms-inquiries-0.9.9.5 app/views/admin/inquiry_settings/_confirmation_email_form.html.erb