Sha256: b98b668413e3ed04c75737e51d079287d079bc5914bbb3ed75b6ce2eef454a35

Contents?: true

Size: 675 Bytes

Versions: 9

Compression:

Stored size: 675 Bytes

Contents

<% content_for :right_column do %>
  <%= render :partial => 'cms_admin/uploads/index' %>
<% end %>

<%= form.text_field :label, :label => 'Layout Name', :id => (@cms_layout.new_record?? 'slugify' : nil)%>
<%= form.text_field :slug, :id => 'slug' %>
<% if (options = CmsLayout.options_for_select(@cms_site, @cms_layout)).present? %>
  <%= form.select :parent_id, [['---- Select Parent Layout ----', nil]] + options %>
<% end %>
<% if (options = CmsLayout.app_layouts_for_select).present? %>
  <%= form.select :app_layout, [['---- Select Application Layout ----', nil]] + options %>
<% end %>
<%= form.text_area :content %>
<%= form.text_area :css %>
<%= form.text_area :js %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
comfortable_mexican_sofa-1.0.37 app/views/cms_admin/layouts/_form.html.erb
comfortable_mexican_sofa-1.0.36 app/views/cms_admin/layouts/_form.html.erb
comfortable_mexican_sofa-1.0.35 app/views/cms_admin/layouts/_form.html.erb
comfortable_mexican_sofa-1.0.34 app/views/cms_admin/layouts/_form.html.erb
comfortable_mexican_sofa-1.0.33 app/views/cms_admin/layouts/_form.html.erb
comfortable_mexican_sofa-1.0.32 app/views/cms_admin/layouts/_form.html.erb
comfortable_mexican_sofa-1.0.31 app/views/cms_admin/layouts/_form.html.erb
comfortable_mexican_sofa-1.0.30 app/views/cms_admin/layouts/_form.html.erb
comfortable_mexican_sofa-1.0.29 app/views/cms_admin/layouts/_form.html.erb