Sha256: 107f1b17ffdf20265a5b6e4e6695d5c9a85f41eaf91fe4ae9c714b1928eec653

Contents?: true

Size: 737 Bytes

Versions: 11

Compression:

Stored size: 737 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, :class => 'code' %>
<%= form.text_area :css, :class => 'code_css' %>
<%= form.text_area :js, :class => 'code_js' %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
comfortable_mexican_sofa-1.0.51 app/views/cms_admin/layouts/_form.html.erb
comfortable_mexican_sofa-1.0.50 app/views/cms_admin/layouts/_form.html.erb
comfortable_mexican_sofa-1.0.49 app/views/cms_admin/layouts/_form.html.erb
comfortable_mexican_sofa-1.0.48 app/views/cms_admin/layouts/_form.html.erb
comfortable_mexican_sofa-1.0.47 app/views/cms_admin/layouts/_form.html.erb
comfortable_mexican_sofa-1.0.46 app/views/cms_admin/layouts/_form.html.erb
comfortable_mexican_sofa-1.0.45 app/views/cms_admin/layouts/_form.html.erb
comfortable_mexican_sofa-1.0.44 app/views/cms_admin/layouts/_form.html.erb
comfortable_mexican_sofa-1.0.43 app/views/cms_admin/layouts/_form.html.erb
comfortable_mexican_sofa-1.0.42 app/views/cms_admin/layouts/_form.html.erb
comfortable_mexican_sofa-1.0.41 app/views/cms_admin/layouts/_form.html.erb