Sha256: 1caef785fc8f62d202e7cfb921b044a7ae5a658cfd5f290b620c633f3ccd1012
Contents?: true
Size: 1.07 KB
Versions: 3
Compression:
Stored size: 1.07 KB
Contents
<%= nested_form_for @design do |f| %> <%= f.error_messages %> <%= f.label :name %> <%= f.text_field :name %><br /> <%= f.label :description %> <%= f.text_field :description %><br /> <% unless @design.name.blank? %> <label>Design Filename</label> <div style="padding-top: 9px;"><%= @design.view_path.gsub(/^#{::Newsletter.designs_path}/,'') %></div><br /> <% end %> <%= f.label :stylesheet_text %> <%= f.text_area :stylesheet_text %><br /> <%= f.label :html_text %> <%= f.text_area :html_text %><br /> <div class='newsletter_parts_group'> <h2 style='padding-bottom: 0; margin-bottom: 0; font-size: 10pt; '>Areas</h2> The HTML code field above should contain <%= render [your_area_name] %> for each area you create.<br/> <div id="areas"> <%= f.fields_for :areas %> </div> <%= f.link_to_add('Add Area', :areas, {class: 'button'}) %> </div> <div class="submit_button"><%= f.submit "Submit", :class => 'button' %></div> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems