Sha256: 61c8f747e67c17dcfb9ca578eea3d02c48a913f167548107f7d7fdf8c84dab84
Contents?: true
Size: 887 Bytes
Versions: 29
Compression:
Stored size: 887 Bytes
Contents
<% content_for :right_column do %> <%= render :partial => 'cms_admin/files/index' %> <% end %> <%= form.text_field :label, :id => (@layout.new_record?? 'slugify' : nil)%> <%= form.text_field :identifier, :id => 'slug' %> <% if (options = Cms::Layout.options_for_select(@site, @layout)).present? %> <%= form.select :parent_id, [["---- #{t('.select_parent_layout')} ----", nil]] + options %> <% end %> <% if (options = Cms::Layout.app_layouts_for_select).present? %> <%= form.select :app_layout, [["---- #{t('.select_app_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 t(@layout.new_record?? '.create' : '.update'), :disable_builder => true %> <% end %>
Version data entries
29 entries across 29 versions & 1 rubygems