Sha256: a6f51622c1d2d644bbbbf6e51229542d86cfbcf8daf9d3918fdc0e038ed2f06f

Contents?: true

Size: 1.16 KB

Versions: 7

Compression:

Stored size: 1.16 KB

Contents

<div class="pulitzer-row">
  <div class="pulitzer-row padding">
    <div class="pulitzer-span one-quarter"><%= post_type.name %></div>
    <% unless post_type.partial? %>
      <div class="pulitzer-span margin ten-percent"><%= link_to_posts(post_type, 'Index', 'Manage') %></div>
    <% end %>
    <div class="pulitzer-span ten-percent">
      <% if 'template' == action_name %>
        <%= ajax_link 'Template', post_type_path(post_type), {}, dom_target(post_type) %>
      <% else %>
        <%= ajax_link 'Template', template_post_type_path(post_type), {}, dom_target(post_type) %>
      <% end %>
    </div>
    <div class="pulitzer-span ten-percent">
      <% if Pulitzer.skip_metadata_auth? || self.instance_eval(&Pulitzer.metadata_closure) %>
        <%= ajax_link "Details", edit_post_type_path(post_type), {}, dom_target(post_type) %>
      <% else %>
        <%= post_type.name %>
      <% end %>
    </div>
    <% if Pulitzer.skip_metadata_auth? || self.instance_eval(&Pulitzer.metadata_closure) %>
      <div class="pulitzer-span ten-percent">
        <%= ajax_delete 'Delete', post_type_path(post_type), {}, dom_target(post_type) %>
      </div>
    <% end %>
  </div>

</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
pulitzer-0.14.4 app/views/pulitzer/post_types/_show.html.erb
pulitzer-0.14.3 app/views/pulitzer/post_types/_show.html.erb
pulitzer-0.14.2 app/views/pulitzer/post_types/_show.html.erb
pulitzer-0.14.1 app/views/pulitzer/post_types/_show.html.erb
pulitzer-0.14.0 app/views/pulitzer/post_types/_show.html.erb
pulitzer-0.13.1 app/views/pulitzer/post_types/_show.html.erb
pulitzer-0.13.0 app/views/pulitzer/post_types/_show.html.erb