Sha256: 6173b3068dc62caae7d8a5407af91a882cf4980b1c0dfee95e78a565b1c41142

Contents?: true

Size: 524 Bytes

Versions: 2

Compression:

Stored size: 524 Bytes

Contents

<%= form_for(@piece,  :html => { :multipart => true }) do |f| %>
  <%= f.error_messages %>
	<% @piece.element.fields.each do |field| %>
		<!-- Rendering Field: <%= field.name %> <%= field.type %> -->
		<%= render :partial => field.form_partial_path, :locals => { :piece => @piece, :field => field, :field_value => field.value_for_piece(@piece) } %>
	<% end %>
	<%= f.hidden_field :element_id %>
	<%= f.hidden_field :area_id %>
	<%= f.hidden_field :newsletter_id %>
    <%= f.submit "Submit", :class => 'button' %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
newsletter-3.2.25.1 app/views/newsletter/pieces/_form.html.erb
newsletter-3.2.22.0 app/views/newsletter/pieces/_form.html.erb