Sha256: ab7dea8f80e73a7fd40184c78a303b1f0d4d600cd256f41850255a8bb26b2e92
Contents?: true
Size: 575 Bytes
Versions: 18
Compression:
Stored size: 575 Bytes
Contents
<%= 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
18 entries across 18 versions & 1 rubygems