Sha256: e63b6c04e2323f5a2620e69bd4a69515f764cb53f32e2aa9ebfad0100ab72325
Contents?: true
Size: 1.48 KB
Versions: 2
Compression:
Stored size: 1.48 KB
Contents
<%= render partial: '/pulitzer/posts/breadcrumbs', locals: {post_type: post.post_type} %> <% if post.plural? %> <%= ajax_link "#{post.post_type.name.singularize} Posts >", pulitzer.posts_path(post_type_version_id: post.post_type_version_id), {}, '[data-tab-id="templates"]' %> <% end %> <h1>Editing <%= post.editor_title %></h1> <% if post.preview_version.present? %> <%= render partial: '/pulitzer/posts/slug_wrapper', locals: {post: post} %> <% end %> <div class="pulitzer-row margin-bottom" id="<%= dom_id(post, :preview_version)%>"> <% if post.preview_version.present? %> <%= ajax_link_now '', pulitzer.edit_version_path(post.next_version), {}, dom_target(post, :preview_version) %> <% elsif post.processing_version.present? %> <h2> Processing Preview for <%= post.processing_version.title %> </h2> <div class="pulitzer-row"> <progress value="0" max="<%= post.active_version.present? ? post.active_version.total_processing_elements : 50 %>" <%= listener_attrs post.processing_version, :processed_element_count if defined? ForeignOffice %>></progress> </div> <a <%= listener_attrs post, :new_preview_version, trigger: true if defined? ForeignOffice %> <%= ajax_link_attrs(dom_target(post, :preview_version)) %> > </a> If the preview does not appear within a few minutes, click here to see if it's available. <%= ajax_link "refresh preview", pulitzer.edit_version_path(post.processing_version), {}, dom_target(post, :preview_version) %> <% end %> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pulitzer-0.15.31 | app/views/pulitzer/posts/_edit.html.erb |
pulitzer-0.15.30 | app/views/pulitzer/posts/_edit.html.erb |