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

Version Path
sunrise-cms-0.6.7 app/views/sunrise/manager/_form.html.erb
sunrise-cms-0.6.6 app/views/sunrise/manager/_form.html.erb
sunrise-cms-0.6.5 app/views/sunrise/manager/_form.html.erb
sunrise-cms-0.6.4 app/views/sunrise/manager/_form.html.erb
sunrise-cms-0.6.3 app/views/sunrise/manager/_form.html.erb
sunrise-cms-0.6.2 app/views/sunrise/manager/_form.html.erb
sunrise-cms-0.6.1 app/views/sunrise/manager/_form.html.erb
sunrise-cms-0.6.0 app/views/sunrise/manager/_form.html.erb
sunrise-cms-0.5.3 app/views/sunrise/manager/_form.html.erb
sunrise-cms-0.5.2 app/views/sunrise/manager/_form.html.erb
sunrise-cms-0.5.1 app/views/sunrise/manager/_form.html.erb
sunrise-cms-0.5.0 app/views/sunrise/manager/_form.html.erb
sunrise-cms-0.5.0.rc5 app/views/sunrise/manager/_form.html.erb
sunrise-cms-0.5.0.rc4 app/views/sunrise/manager/_form.html.erb
sunrise-cms-0.5.0.rc3 app/views/sunrise/manager/_form.html.erb
sunrise-cms-0.5.0.rc2 app/views/sunrise/manager/_form.html.erb
sunrise-cms-0.5.0.rc1 app/views/sunrise/manager/_form.html.erb
sunrise-cms-0.4.2 app/views/sunrise/manager/_form.html.erb
sunrise-cms-0.4.1 app/views/sunrise/manager/_form.html.erb
sunrise-cms-0.4.0 app/views/sunrise/manager/_form.html.erb