fuel 0.3.25 → 0.3.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/fuel/admin/posts/_form.html.erb +3 -1
- data/lib/fuel/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: 2c1112035abc422c172871bc422f4454cd7dc439
|
4
|
+
data.tar.gz: b08740f6937d95bc7c64848550b8d594e929abd1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3585a9522fd8051fe052f6d8994922e8cc7620985bb1bf4b748fd0b223fcebfbfe943a917c47ebf9448d6e93acd5e7f086db2b4b21ee23c785e45b8340127d6
|
7
|
+
data.tar.gz: 4c240eaaa33e7524d34029c21c02123a9546e841d80b026fb8439e4e18a10ef82f5e21ba58ea341b71db5e7d9d08ede17dd44492229819bd9f342243e483a776
|
@@ -51,7 +51,9 @@
|
|
51
51
|
</fieldset>
|
52
52
|
<fieldset>
|
53
53
|
<%= f.submit (action_name == "edit" ? "Update Post" : "Create Post"), class: 'button button--secondary' %>
|
54
|
-
|
54
|
+
<% if @post.id %>
|
55
|
+
<%= link_to 'Delete Post', fuel.admin_post_path(@post), method: :delete, confirm: "Are you sure you want to delete this post?", class: "delete-post button button--danger" %>
|
56
|
+
<% end %>
|
55
57
|
</fieldset>
|
56
58
|
</div>
|
57
59
|
<% end %>
|
data/lib/fuel/version.rb
CHANGED