From dd231a335758873dcd9024db7618837094fcc0a5 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Fri, 6 Jul 2018 16:52:48 -0400 Subject: Added page titles refs #4 --- app/views/admin/blogs/drafts.html.haml | 1 + app/views/admin/blogs/edit.html.haml | 1 + app/views/admin/blogs/index.html.haml | 1 + app/views/admin/blogs/new.html.haml | 1 + app/views/admin/blogs/show.html.haml | 1 + 5 files changed, 5 insertions(+) (limited to 'app/views/admin/blogs') diff --git a/app/views/admin/blogs/drafts.html.haml b/app/views/admin/blogs/drafts.html.haml index 8f2d369..7f6d19d 100644 --- a/app/views/admin/blogs/drafts.html.haml +++ b/app/views/admin/blogs/drafts.html.haml @@ -1,3 +1,4 @@ +- title "Blog drafts" %table#entries %tr %th Title diff --git a/app/views/admin/blogs/edit.html.haml b/app/views/admin/blogs/edit.html.haml index f356069..beb7b88 100644 --- a/app/views/admin/blogs/edit.html.haml +++ b/app/views/admin/blogs/edit.html.haml @@ -1,2 +1,3 @@ +- title "Editing #{@blog.title}" = form_for @blog, url: admin_blog_url(@blog), html: { id: "entry-form" } do |f| = render partial: "form", locals: { f: f } diff --git a/app/views/admin/blogs/index.html.haml b/app/views/admin/blogs/index.html.haml index 427d922..28078f8 100644 --- a/app/views/admin/blogs/index.html.haml +++ b/app/views/admin/blogs/index.html.haml @@ -1,3 +1,4 @@ +- title "Blogs" %table#entries %tr %th Title diff --git a/app/views/admin/blogs/new.html.haml b/app/views/admin/blogs/new.html.haml index 0005278..eff1f16 100644 --- a/app/views/admin/blogs/new.html.haml +++ b/app/views/admin/blogs/new.html.haml @@ -1,2 +1,3 @@ +- title "New blog" = form_for @blog, url: admin_blogs_url, html: { id: "entry-form" } do |f| = render partial: "form", locals: { f: f } diff --git a/app/views/admin/blogs/show.html.haml b/app/views/admin/blogs/show.html.haml index 7875cab..b9acd5d 100644 --- a/app/views/admin/blogs/show.html.haml +++ b/app/views/admin/blogs/show.html.haml @@ -1,3 +1,4 @@ +- title "Previewing #{@blog.title}" = render partial: "blogs/blog", object: @blog %footer#blog-footer This draft was last updated on -- cgit 1.4.1