Sha256: 2bdceb994ae3efe87492cb01398b5fe16a629132b7628a2d79a65eec88061a9f
Contents?: true
Size: 922 Bytes
Versions: 3
Compression:
Stored size: 922 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 = Cms::Layout.options_for_select(@cms_site, @cms_layout)).present? %> <%= form.select :parent_id, [['---- Select Parent Layout ----', nil]] + options %> <% end %> <% if (options = Cms::Layout.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' %> <%= form.simple_field nil, nil, :class => 'submit_element' do %> <%= form.submit @cms_layout.new_record?? 'Create Layout' : 'Update Layout', :disable_builder => true %> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems