Skip to content

Commit

Permalink
Oops. Moved it below #page_part_editors.
Browse files Browse the repository at this point in the history
  • Loading branch information
robyurkowski committed Feb 21, 2012
1 parent 8a4e67e commit e9a78ba
Showing 1 changed file with 8 additions and 7 deletions.
Expand Up @@ -36,18 +36,19 @@
</li>
<%% end %>
</ul>
</div>
<div id='page_part_editors'>
<%% <%= text_areas.map{|t| t.name.to_sym}.inspect -%>.each do |part| %>
<div class='page_part' id='<%%= part %>'>
<%%= f.text_area part, :rows => 20, :class => 'wymeditor widest' -%>
</div>
<%% end %>
<div id='page_part_editors'>
<%% <%= text_areas.map{|t| t.name.to_sym}.inspect -%>.each do |part| %>
<div class='page_part' id='<%%= part %>'>
<%%= f.text_area part, :rows => 20, :class => 'wymeditor widest' -%>
</div>
<%% end %>
</div>
</div>
<% generated_text_areas = true -%>
<% elsif attribute.field_type.to_s != 'text_area' -%>
<%%= f.<%= attribute.field_type -%> :<%= attribute.name -%><%= ", :class => 'larger widest'" if (index == 0 && attribute.field_type == :text_field) -%><%= ", :checked => @#{singular_name}[:#{attribute.name}]" if attribute.field_type == :check_box %> -%>
<% end -%>

</div>
<% end %>
<%%= render '/refinery/admin/form_actions', :f => f,
Expand Down

0 comments on commit e9a78ba

Please sign in to comment.