about summary refs log tree commit diff stats
path: root/app/views/admin/blogs/_form.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/blogs/_form.html.haml')
-rw-r--r--app/views/admin/blogs/_form.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/blogs/_form.html.haml b/app/views/admin/blogs/_form.html.haml index 80a1b00..021d1ed 100644 --- a/app/views/admin/blogs/_form.html.haml +++ b/app/views/admin/blogs/_form.html.haml
@@ -20,7 +20,7 @@
20 - if f.object.published 20 - if f.object.published
21 = link_to "View post", blog_url(f.object.slug_was), target: "entry-preview" 21 = link_to "View post", blog_url(f.object.slug_was), target: "entry-preview"
22 - else 22 - else
23 = link_to "Preview post", admin_blog_url(f.object), target: "entry-preview" 23 = link_to "Preview post", admin_blog_url(f.object.id), target: "entry-preview"
24 .details-module 24 .details-module
25 .tags-field 25 .tags-field
26 = f.label :tag_list, "Tags" 26 = f.label :tag_list, "Tags"