Sha256: cbd4d991924003b61dddbaaee233df76ce1d45ee6cf5a90c5318d9cdcf37d4ab

Contents?: true

Size: 572 Bytes

Versions: 1

Compression:

Stored size: 572 Bytes

Contents

<table>
  <thead>
    <tr>
      <th>Seção</th>
      <th></th>
    </tr>
  </thead>

  <% @sections.each do |section| %>
    <% next unless Cas::SectionConfig.new(section).accessible_by_user?(current_user) %>
    <tr id="section-<%= section.id %>">
      <td><%= section.name %></td>
      <td>
        <%= link_to 'Novo', new_section_content_path(section), id: "new-content-#{section.id}" %>
        &nbsp;
        &nbsp;
        <%= link_to 'Gerenciar', section_contents_path(section), id: "manage-section-#{section.id}" %>
      </td>
    </tr>
  <% end %>
</table>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cas-cms-0.1.0 app/views/cas/sections/index.html.erb