Sha256: e50fe41d06b52258fa81468304425f0d6673aa5b072147deda7a710f6d1f34fa

Contents?: true

Size: 618 Bytes

Versions: 38

Compression:

Stored size: 618 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">
  <% ContentType.connectable.all.each_with_index do |type, i| %>
    <li>
      <%= link_to h(type.display_name), cms_new_path_for(type, 
        "#{type.name.underscore}[connect_to_page_id]" => params[:connect_to_page_id], 
        "#{type.name.underscore}[connect_to_container]" => params[:connect_to_container]
      ) %>
      <% if i == 1 %><div style="margin: 10px 0">&nbsp;</div><% end %>
    </li>
  <% end %>
</ul>

Version data entries

38 entries across 38 versions & 10 rubygems

Version Path
SFEley-browsercms-3.0.2 app/views/cms/content_types/index.html.erb
buzzware-browsercms-3.0.2 app/views/cms/content_types/index.html.erb
coredumplings-browsercms-3.0.0 app/views/cms/content_types/index.html.erb
nate-browsercms-3.0.210 app/views/cms/content_types/index.html.erb
nate-browsercms-3.0.211 app/views/cms/content_types/index.html.erb
we5-browsercms-3.0.1.1 app/views/cms/content_types/index.html.erb
webficient-browsercms-3.0.1 app/views/cms/content_types/index.html.erb
webficient-browsercms-3.0.2 app/views/cms/content_types/index.html.erb
webficient-browsercms-3.0.3 app/views/cms/content_types/index.html.erb
webficient-browsercms-3.0.4 app/views/cms/content_types/index.html.erb
browsercms-3.3.4 app/views/cms/content_types/index.html.erb
browsercms-3.3.3 app/views/cms/content_types/index.html.erb
browsercms-3.1.5 app/views/cms/content_types/index.html.erb
browsercms-3.1.4 app/views/cms/content_types/index.html.erb
browsercms-3.3.2 app/views/cms/content_types/index.html.erb
browsercms-3.3.1 app/views/cms/content_types/index.html.erb
browsercms-3.3.0 app/views/cms/content_types/index.html.erb
browsercms-3.1.3 app/views/cms/content_types/index.html.erb
browsercms-3.3.0.beta app/views/cms/content_types/index.html.erb
bf4-browsercms-3.1.0 app/views/cms/content_types/index.html.erb