Sha256: dba7f8bfd685760e013e27ac8cb90171eb34ad158306c38c5c9216b34e49986c
Contents?: true
Size: 1.09 KB
Versions: 10
Compression:
Stored size: 1.09 KB
Contents
<h2>Template content elements</h2> <% version.template_content_elements.each do |content_element| %> <%= render partial: '/pulitzer/content_elements/show_wrapper', locals: { content_element: content_element } %> <% end %> <% if version.allow_free_form? %> <div id="<%= dom_id version, :free_form_elements %>"> <h2>Free form content elements</h2> <div class="pulitzer-row margin-bottom list-item"> <%= ajax_link "add a new content element for #{version.title}", new_content_element_path(version_id: version), {}, "#new_free_form_content_element_#{dom_id(version)}" %> <div id="<%= dom_id(version, :new_free_form_content_element) %>"></div> </div> <div class="pulitzer-row margin-bottom list-item" id="<%= dom_id(version, :free_form_content_element_container) %>" id="content_element_list" data-sorter href="<%= update_all_content_elements_path %>"> <% version.free_form_content_elements.each do |content_element| %> <%= render partial: '/pulitzer/content_elements/show_wrapper', locals: { content_element: content_element } %> <% end %> </div> </div> <% end %>
Version data entries
10 entries across 10 versions & 1 rubygems