Sha256: 1a6d29aac044d2bd540d1907e075cdf8132f4ebeec947fa99dbf79971b0095eb

Contents?: true

Size: 826 Bytes

Versions: 11

Compression:

Stored size: 826 Bytes

Contents

<%= ajax_link '> all ' + @post_type.kind.pluralize + ' > ', post_types_path(post_type_kind: @post_type.kind), {}, '[data-tab-id="' + @post_type.kind.pluralize + '"]' %>
<h3>"<%= @post_type.name %>" Template Versions</h3>
<div class="pulitzer-row margin-bottom list-item">
  <% if Pulitzer.skip_metadata_auth? || self.instance_eval(&Pulitzer.metadata_closure) %>
    <%= ajax_link "create a new version of this template",
          post_type_versions_path(post_type_version: {post_type_id: @post_type.id}),
          {}, '#post_type_versions_container', http_method: 'POST', insert_method: 'append' %>
  <% end %>
</div>

<div id="post_type_versions_container">
  <% @post_type_versions.each do |post_type_version| %>
    <%= render partial: 'show_wrapper', locals: {post_type_version: post_type_version} %>
  <% end %>
</div>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
pulitzer-0.15.10 app/views/pulitzer/post_type_versions/_index.html.erb
pulitzer-0.15.9 app/views/pulitzer/post_type_versions/_index.html.erb
pulitzer-0.15.8 app/views/pulitzer/post_type_versions/_index.html.erb
pulitzer-0.15.7 app/views/pulitzer/post_type_versions/_index.html.erb
pulitzer-0.15.6 app/views/pulitzer/post_type_versions/_index.html.erb
pulitzer-0.15.5 app/views/pulitzer/post_type_versions/_index.html.erb
pulitzer-0.15.4 app/views/pulitzer/post_type_versions/_index.html.erb
pulitzer-0.15.3 app/views/pulitzer/post_type_versions/_index.html.erb
pulitzer-0.15.2 app/views/pulitzer/post_type_versions/_index.html.erb
pulitzer-0.15.1 app/views/pulitzer/post_type_versions/_index.html.erb
pulitzer-0.15.0 app/views/pulitzer/post_type_versions/_index.html.erb