Sha256: 840bac8e3799f253ff208c4de31039f59abe30c34c6e2eb00e071de8f3e02141
Contents?: true
Size: 1.27 KB
Versions: 16
Compression:
Stored size: 1.27 KB
Contents
<div class="post"> <div class="post-body"> <h1>Duplicate Mail Tempate</h1> <hr /> <%= form_for(@mail_template, :url => duplicate_mail_template_path(@mail_template, :type => params[:type])) do |f| %> <% if @duplicated_mail_template.errors.any? %> <p id="error_explanation"> <h2><%= pluralize(@duplicated_mail_template.errors.count, "error") %> prohibited this mail_template from being saved:</h2> <ul> <% @duplicated_mail_template.errors.full_messages.each do |msg| %> <li><%= msg %></li> <% end %> </ul> </p> <% end %> <div class="field"> <%= f.label :name %><br /> <%= f.text_field :name, :class => "text" %> </div> <div class="field"> <%= f.label :subject %><br /> <%= f.text_field :subject, :class => "text" %> </div> <div class="field"> <%= f.label :path, 'Template Path' %><br /> <%= f.text_field :path, :class => "text" %> </div> <div class="field"> <%= f.label :locale %><br /> <%= f.select :locale, I18n.available_locales.map(&:to_s) %> </div> <div class="actions"> <%= f.submit "Duplicate", :class => "button" %> </div> <% end %> </div> </div>
Version data entries
16 entries across 16 versions & 1 rubygems