Sha256: c4ed7cb1f47f5edd1a949d351a77e028a84f62b41b7a4c92cc19f98b5303a0ee
Contents?: true
Size: 794 Bytes
Versions: 14
Compression:
Stored size: 794 Bytes
Contents
- content_for :right_column do = render :partial => 'cms_admin/files/index' = form.text_field :label, :data => {:slugify => @layout.new_record?} = form.text_field :identifier, :data => {:slug => true} - if (options = Cms::Layout.options_for_select(@site, @layout)).present? = form.select :parent_id, [["---- #{t('.select_parent_layout')} ----", nil]] + options - if (options = Cms::Layout.app_layouts_for_select).present? = form.select :app_layout, [["---- #{t('.select_app_layout')} ----", nil]] + options = form.text_area :content, :data => {:cm_mode => 'text/html'} = form.text_area :css, :data => {:cm_mode => 'css'} = form.text_area :js, :data => {:cm_mode => 'javascript'} .form-actions = form.submit t(@layout.new_record?? '.create' : '.update'), :class => 'btn btn-primary'
Version data entries
14 entries across 14 versions & 2 rubygems