Sha256: 25f0510337216f856e3f578d1be77d577f220c4982926682374d922129c8b725
Contents?: true
Size: 1.75 KB
Versions: 4
Compression:
Stored size: 1.75 KB
Contents
<%= form_for @setting, :url => refinery.inquiries_admin_setting_path(@setting) 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> <%= "#{Refinery::Core.site_name} <no-reply@#{request.domain}>".html_safe %> </td> </tr> <% Refinery::I18n.frontend_locales.each do |locale| %> <tr> <td> <label class='stripped'><%= t('.subject') %> (<%= locale.to_s %>)</label> </td> <td> <%= text_field_tag "setting[subject[#{locale.to_s}]]", Refinery::Inquiries::Setting.confirmation_subject(locale), :class => 'widest' %> </td> </tr> <tr> <td valign='top'> <%= f.label :value, t('.message'), :class => 'stripped' %> (<%= locale.to_s %>) </td> <td> <%= text_area_tag "setting[message[#{locale.to_s}]]", Refinery::Inquiries::Setting.confirmation_message(locale), # required, we can't use :value :rows => "5", :class => 'widest' %> <br/> <em><%= t('.note') %></em> </td> </tr> <% end %> </table> <%= render :partial => "/refinery/admin/form_actions", :locals => { :f => f, :continue_editing => false, :cancel_url => refinery.inquiries_admin_inquiries_path, :hide_delete => true } %> <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems