Sha256: f39b369ef5f0c490e51c2c17a1fef72646ac8c15cc208cdf8330be55398b5a2b

Contents?: true

Size: 635 Bytes

Versions: 17

Compression:

Stored size: 635 Bytes

Contents

<% page_title "Select Content Type" %>
<%= content_for :functions, "<h1>#{ @page_title }</h1>" %>
<%= content_for :html_head, stylesheet_link_tag('cms/content_types') %>
<ul id="content_types">
  <% Cms::ContentType.connectable.all.each_with_index do |type, i| %>
    <li>
      <%= link_to h(type.display_name), cms_new_path_for(type, 
        "#{type.model_class_form_name}[connect_to_page_id]" => params[:connect_to_page_id], 
        "#{type.model_class_form_name}[connect_to_container]" => params[:connect_to_container]
      ) %>
      <% if i == 1 %><div style="margin: 10px 0">&nbsp;</div><% end %>
    </li>
  <% end %>
</ul>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
browsercms-3.5.7 app/views/cms/content_types/index.html.erb
browsercms-3.5.6 app/views/cms/content_types/index.html.erb
browsercms-3.5.5 app/views/cms/content_types/index.html.erb
browsercms-3.5.4 app/views/cms/content_types/index.html.erb
browsercms-3.5.3 app/views/cms/content_types/index.html.erb
browsercms-3.5.2 app/views/cms/content_types/index.html.erb
browsercms-3.5.1 app/views/cms/content_types/index.html.erb
browsercms-3.5.0 app/views/cms/content_types/index.html.erb
browsercms-3.5.0.rc3 app/views/cms/content_types/index.html.erb
browsercms-3.5.0.rc2 app/views/cms/content_types/index.html.erb
browsercms-3.5.0.rc1 app/views/cms/content_types/index.html.erb
browsercms-3.4.2 app/views/cms/content_types/index.html.erb
browsercms-3.4.2.rc1 app/views/cms/content_types/index.html.erb
browsercms-3.4.1 app/views/cms/content_types/index.html.erb
browsercms-3.4.0 app/views/cms/content_types/index.html.erb
browsercms-3.4.0.rc2 app/views/cms/content_types/index.html.erb
browsercms-3.4.0.rc1 app/views/cms/content_types/index.html.erb