Sha256: eb23226c586f38b0d6e973301f3cd54e409ce16fd00379c9724a54c52e44bf09
Contents?: true
Size: 1.28 KB
Versions: 1
Compression:
Stored size: 1.28 KB
Contents
<% if @page.mails.present? %> <%= form_for (flash[:mail_message].present?) ? flash[:mail_message] : Refinery::Contacts::MailMessage.new , :url=> deliver_contacts_mail_messages_path do |f| %> <%= render 'refinery/contacts/contacts/success_info' %> <%= render 'refinery/contacts/contacts/error_info' %> <div class="field "> <%= f.label :recipient_id %> <%= f.collection_select :recipient_id, @page.mails, :id, :mail, { :prompt=> ((@page.mails.length > 1) ? true : false) } %> </div> <div class="field "> <%= f.label :name %> <%= f.text_field :name %> </div> <div class="field "> <%= f.label :sender_mail %> <%= f.text_field :sender_mail %> </div> <div class="field "> <%= f.label :subject %> <%= f.text_field :subject%> </div> <div class="field "> <%= f.label :text %> <%= f.text_area :text, :rows=>"7", :cols=>"55" %> </div> <div class="field "> <%= f.label t('.antispam') %> <%= recaptcha_tags %> </div> <div class="field"> <%= f.label " " %> <%= f.submit t('.submit') %> </div> <% end %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
refinerycms-contacts-0.2.0 | app/views/refinery/contacts/contacts/_form.html.erb |