Sha256: 7eade210bce6902c91244a76716315eda01153ba1c9d56af4e472b95fc871c87

Contents?: true

Size: 1.23 KB

Versions: 11

Compression:

Stored size: 1.23 KB

Contents

<%= page_title_with_buttons f %>
<div class="padded row-fluid clearfix">
  <%= f.input :name, slug_source_if(f.object.new_record?) %>
  <%= f.input :path, input_html: {class: 'slug-dest', data: {prefix: parent.path}} if parent %>
  <%= f.input :hidden, label: "Hide from menus?" if parent %>
  <%= able_to?(:administrate) do %>
      <%= f.association :groups,
                        collection: public_groups,
                        as: :check_boxes,
                        label: 'Public Permissions',
                        input_html: {class: "public_group_ids"},
                        hint: 'Which "Public" groups can view pages in this section?'
      %>
      <div class="check_uncheck">
        <%= check_uncheck_tag 'input.public_group_ids' %>
      </div>

      <%= f.association :groups,
                        collection: cms_groups,
                        as: :check_boxes,
                        label: 'CMS Permissions',
                        input_html: {class: "cms_group_ids"},
                        hint: 'Which "CMS" groups can edit pages and content in this section?'
      %>
      <div class="check_uncheck">
        <%= check_uncheck_tag 'input.cms_group_ids' %>
      </div>
  <% end %>
</div>
<%= bottom_buttons f %>

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
browsercms-artirix-4.0.4 app/views/cms/sections/_form.html.erb
browsercms-artirix-4.0.3.3 app/views/cms/sections/_form.html.erb
browsercms-artirix-4.0.3.2 app/views/cms/sections/_form.html.erb
browsercms-artirix-4.0.3.1 app/views/cms/sections/_form.html.erb
browsercms-artirix-4.0.3 app/views/cms/sections/_form.html.erb
browsercms-artirix-4.0.2 app/views/cms/sections/_form.html.erb
browsercms-artirix-4.0.1.1 app/views/cms/sections/_form.html.erb
browsercms-artirix-4.0.0.rc1.art4 app/views/cms/sections/_form.html.erb
browsercms-4.0.0.rc1 app/views/cms/sections/_form.html.erb
browsercms-4.0.0.beta app/views/cms/sections/_form.html.erb
browsercms-4.0.0.alpha app/views/cms/sections/_form.html.erb