Sha256: cd4e397fa9092bf7eda9f07f613614948c0d0e2bf07380c677ca80fc4c2a37d4
Contents?: true
Size: 1013 Bytes
Versions: 1
Compression:
Stored size: 1013 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 'and continue', :id => nil, :name => 'save', :disable_builder => true %> <%= form.submit @cms_layout.new_record?? 'Create Layout' : 'Update Layout', :disable_builder => true %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
comfortable_mexican_sofa-1.1.2 | app/views/cms_admin/layouts/_form.html.erb |