Sha256: 1aed1977e2d6146ded87a67dacd8b308b4028b36632c7f874cf2c9ff2570c5ca
Contents?: true
Size: 1.23 KB
Versions: 25
Compression:
Stored size: 1.23 KB
Contents
<%= manage_form_for @record do |f| -%> <%= render :partial => 'sunrise/shared/parent' %> <div class="post-edit-holder"> <%= render :partial => "sunrise/shared/locale" if abstract_model.translate? %> <div class="wysiwyg-holder"> <%= render :partial => "sunrise/shared/available_locales", :locals => {:form => f} if abstract_model.translate? %> <%= render :partial => 'field', :collection => abstract_model.edit_fields, :locals => {:form => f} %> </div> <% if abstract_model.sidebar_groups? -%> <div class="post-properties-holder"> <% abstract_model.sidebar_groups.each do |group| -%> <div class="framed-block"> <% if group.title != false -%> <div class="title-switcher up"><span><%= group.title %></span></div> <% end -%> <%= render :partial => 'field', :collection => group.fields, :locals => {:form => f} %> </div> <% end -%> </div> <% end -%> </div> <% abstract_model.bottom_groups.each do |group| -%> <%= render :partial => 'field', :collection => group.fields, :locals => {:form => f} %> <% end -%> <%= f.button :submit, :style => "display:none;", :id => "submit-button-hidden" %> <% end -%>
Version data entries
25 entries across 25 versions & 1 rubygems