<%= render partial: 'show', locals: {post_type_version: post_type_version} %>

Content Elements

Editor Display
Content Type
Details
 
Req'd
Sort
<% post_type_version.post_type_content_element_types.each do |ptcet| %> <%= render partial: '/pulitzer/post_type_content_element_types/show_wrapper', locals: {ptcet: ptcet} %> <% end %>
<%= ajax_link 'add a new content element for ' + post_type_version.full_name, new_post_type_content_element_type_path(post_type_version_id: post_type_version.id), {}, dom_target(post_type_version, :new_post_type_content_element_type) %>
<% unless post_type_version.partial? %>

Free Form Sections

Editor Display
Sort
<% post_type_version.free_form_section_types.each do |ffst| %> <%= render partial: '/pulitzer/free_form_section_types/show_wrapper', locals: {ffst: ffst} %> <% end %>
<%= ajax_link 'add a new section for ' + post_type_version.full_name, new_free_form_section_type_path(post_type_version_id: post_type_version.id), {}, dom_target(post_type_version, :new_free_form_section_type) %>
<% end %> <% if post_type_version.partial? %>

Background Styles

Editor Display
Css Class
<% post_type_version.background_styles.each do |bg_style| %> <%= render partial: '/pulitzer/background_styles/show_wrapper', locals: {background_style: bg_style} %> <% end %>
<%= ajax_link 'add a new background style for ' + post_type_version.full_name, new_background_style_path(background_style: {post_type_version_id: post_type_version.id}), {}, dom_target(post_type_version, :new_background_style) %>

Justification Styles

Editor Display
Css Class
<% post_type_version.justification_styles.each do |just_style| %> <%= render partial: '/pulitzer/justification_styles/show_wrapper', locals: {justification_style: just_style} %> <% end %>
<%= ajax_link 'add a new justification style for ' + post_type_version.full_name, new_justification_style_path(justification_style: {post_type_version_id: post_type_version.id}), {}, dom_target(post_type_version, :new_justification_style) %>

Sequence Flow Styles

Editor Display
Css Class
<% post_type_version.sequence_flow_styles.each do |seq_style| %> <%= render partial: '/pulitzer/sequence_flow_styles/show_wrapper', locals: {sequence_flow_style: seq_style} %> <% end %>
<%= ajax_link 'add a new sequence_flow style for ' + post_type_version.full_name, new_sequence_flow_style_path(sequence_flow_style: {post_type_version_id: post_type_version.id}), {}, dom_target(post_type_version, :new_sequence_flow_style) %>

Arrangement Styles

Editor Display
Rails View File
<% post_type_version.arrangement_styles.each do |arr_style| %> <%= render partial: '/pulitzer/arrangement_styles/show_wrapper', locals: {arrangement_style: arr_style} %> <% end %>
<%= ajax_link 'add a new arrangement style for ' + post_type_version.full_name, new_arrangement_style_path(arrangement_style: {post_type_version_id: post_type_version.id}), {}, dom_target(post_type_version, :new_arrangement_style) %>
<% end %>