Sha256: f463e26ee9536fae9ca07224bb097cf17b3f0fd6c72a6581062fdc67c544173f

Contents?: true

Size: 596 Bytes

Versions: 5

Compression:

Stored size: 596 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_site_section_content_path(@site, section), id: "new-content-#{section.id}" %>
        &nbsp;
        &nbsp;
        <%= link_to 'Gerenciar', site_section_contents_path(@site, section), id: "manage-section-#{section.id}" %>
      </td>
    </tr>
  <% end %>
</table>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cas-cms-1.0.0.alpha2 app/views/cas/sites/sections/index.html.erb
cas-cms-1.0.0.alpha1 app/views/cas/sites/sections/index.html.erb
cas-cms-0.1.3 app/views/cas/sites/sections/index.html.erb
cas-cms-0.1.2 app/views/cas/sites/sections/index.html.erb
cas-cms-0.1.1 app/views/cas/sites/sections/index.html.erb