Sha256: 71a977a62f1e010b3f86093f93faf924d49b820d1a22313faa1d82aa06df4c03

Contents?: true

Size: 1.26 KB

Versions: 6

Compression:

Stored size: 1.26 KB

Contents

<%= manage_form_for @record, :html => { :multipart => true } 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

6 entries across 6 versions & 1 rubygems

Version Path
sunrise-cms-0.7.0.rc2 app/views/sunrise/manager/_form.html.erb
sunrise-cms-0.7.0.rc1 app/views/sunrise/manager/_form.html.erb
sunrise-cms-0.6.11 app/views/sunrise/manager/_form.html.erb
sunrise-cms-0.6.10 app/views/sunrise/manager/_form.html.erb
sunrise-cms-0.6.9 app/views/sunrise/manager/_form.html.erb
sunrise-cms-0.6.8 app/views/sunrise/manager/_form.html.erb