Sha256: f0acc6a1e9b1ec199db38f4d5aafbf174f7b85558ad0479016e2292a8736c16c
Contents?: true
Size: 968 Bytes
Versions: 57
Compression:
Stored size: 968 Bytes
Contents
<div class="pulitzer-row"> <%= form_for version, html: ajax_form_hash(dom_target(version.post, :preview_version)).merge( class: 'pulitzer-form-left' ) do |f| %> <%= f.submit "Activate", data: {prevent_double_click: true} %> <%= hidden_field_tag :status, :active %> <% end %> <%= form_for version, html: ajax_form_hash(dom_target(version.post, :preview_version)).merge( class: 'pulitzer-form-left' ) do |f| %> <%= f.submit "Abandon Changes", data: {prevent_double_click: true} %> <%= hidden_field_tag :status, :abandoned %> <% end %> <% if version.post.active_version && instance_eval(&Pulitzer.unpublish_authorization) %> <%= form_for version.post.active_version, html: ajax_form_hash(dom_target(version.post, :preview_version)).merge( class: 'pulitzer-form-left' ) do |f| %> <%= f.submit "Unpublish Post", data: {prevent_double_click: true} %> <%= hidden_field_tag :status, :abandoned %> <% end %> <% end %> </div>
Version data entries
57 entries across 57 versions & 1 rubygems