Sha256: 003220dd86312acac389f510a60091f0a0d3750bce9ef742decde66c006b7453

Contents?: true

Size: 451 Bytes

Versions: 9

Compression:

Stored size: 451 Bytes

Contents

<ul class="dropdown-menu" id="<%= id %>">
  <% if library %>
    <%= nav_link_to "Text", cms.content_library_path %>
    <%= divider_tag %>
  <% end %>
  <% modules = Cms::ContentType.available_by_module
     modules.keys.sort.each_with_index do |module_name, i| %>
      <%= divider_tag(i) %>
      <% modules[module_name].each do |type| %>
          <%= nav_link_to h(type.display_name), engine_aware_path(type) %>
      <% end -%>
  <% end %>
</ul>

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
browsercms-artirix-4.0.3.2 app/views/layouts/cms/_content_types.html.erb
browsercms-artirix-4.0.3.1 app/views/layouts/cms/_content_types.html.erb
browsercms-artirix-4.0.3 app/views/layouts/cms/_content_types.html.erb
browsercms-artirix-4.0.2 app/views/layouts/cms/_content_types.html.erb
browsercms-artirix-4.0.1.1 app/views/layouts/cms/_content_types.html.erb
browsercms-artirix-4.0.0.rc1.art4 app/views/layouts/cms/_content_types.html.erb
browsercms-4.0.0.rc1 app/views/layouts/cms/_content_types.html.erb
browsercms-4.0.0.beta app/views/layouts/cms/_content_types.html.erb
browsercms-4.0.0.alpha app/views/layouts/cms/_content_types.html.erb