pulitzer 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/pulitzer/versions/_form.html.erb +2 -2
- data/lib/pulitzer/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a7a0249626abc0fa1f34c4719f55638f72c2a37
|
4
|
+
data.tar.gz: f53604f97d33e6730b84f6e1a053abeebccaf4de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62a715d6a3637864c3ff57a730fecf9122eb5ac28d4369eb784e51895fd8b724fab942a47e09ac3b7d34ad8389a317d93bb6fc0ec383efad748c4e383780316e
|
7
|
+
data.tar.gz: e2e640586f80852897349202c361e4580921b37c2e8467ffbcd831dbaf86fe1a37cbadade2c3d4104440d4ed6438cf1be57a206dc4897f04767e78283790a291
|
@@ -1,11 +1,11 @@
|
|
1
1
|
<div class="pulitzer-row">
|
2
2
|
<%= form_for version, html: ajax_form_hash(dom_target(version.post, :preview_version)).merge( class: 'pulitzer-form-left' ) do |f| %>
|
3
|
-
<%= f.submit "Activate" %>
|
3
|
+
<%= f.submit "Activate", data: {prevent_double_click: true} %>
|
4
4
|
<%= hidden_field_tag :status, :active %>
|
5
5
|
<% end %>
|
6
6
|
|
7
7
|
<%= form_for version, html: ajax_form_hash(dom_target(version.post, :preview_version)).merge( class: 'pulitzer-form-left' ) do |f| %>
|
8
|
-
<%= f.submit "Abandon" %>
|
8
|
+
<%= f.submit "Abandon", data: {prevent_double_click: true} %>
|
9
9
|
<%= hidden_field_tag :status, :abandoned %>
|
10
10
|
<% end %>
|
11
11
|
|
data/lib/pulitzer/version.rb
CHANGED