Sha256: 3b96e07a734f56dcd5cf5181756cbcd89db417b87e8e994fbba7b882dbabfbbc

Contents?: true

Size: 965 Bytes

Versions: 3

Compression:

Stored size: 965 Bytes

Contents

<div class="checkbox_group fields">
  <label>Section Permissions</label>
  <%= hidden_field_tag "group[section_ids][]", "" %>
  <div class="checkboxes">
  <% Section.all(:order => "path").each do |s|%>
  <div class="checkbox_fields">
    <%= check_box_tag "group[section_ids][]", s.id, @group.sections.include?(s), :id => "section_ids_#{s.id}", :class => "section_ids" %>
    <label for= "section_ids_<%= s.id %>" style="width: 400px; padding-top: 0; #padding-top: 4px;"><%=h s.name %><span style="padding-top: 0; font-weight: lighter; display: inline; float: none;">(Path: <%=h s.path %>)</span></label>
  </div>
  <% end %>
  <div class="instructions">What sections should group members be allowed to <span id="section-action"><%= @group.cms_access? ? 'edit' : 'view' %></span>?</div>
  <div class="check_uncheck">
    <%= link_to_check_all 'input.section_ids' %>, 
    <%= link_to_uncheck_all 'input.section_ids' %>
  </div>
  </div>
  <br clear="all" />
</div>

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
nate-browsercms-3.0.210 app/views/cms/groups/_sections.html.erb
nate-browsercms-3.0.211 app/views/cms/groups/_sections.html.erb
browsercms-3.0.0 app/views/cms/groups/_sections.html.erb