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 + app/views/admin/streams/edit.html.haml | 1 + app/views/admin/streams/index.html.haml | 1 + app/views/admin/streams/new.html.haml | 1 + app/views/admin/updates/edit.html.haml | 1 + app/views/admin/updates/new.html.haml | 1 + 10 files changed, 10 insertions(+) (limited to 'app/views/admin') 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 diff --git a/app/views/admin/streams/edit.html.haml b/app/views/admin/streams/edit.html.haml index 1b58331..8d910fe 100644 --- a/app/views/admin/streams/edit.html.haml +++ b/app/views/admin/streams/edit.html.haml @@ -1,2 +1,3 @@ +- title "Editing #{@stream.title}" = form_for @stream, url: admin_stream_url(@stream), html: { id: "entry-form" } do |f| = render partial: "form", locals: { f: f } diff --git a/app/views/admin/streams/index.html.haml b/app/views/admin/streams/index.html.haml index c69c6f9..6903fd1 100644 --- a/app/views/admin/streams/index.html.haml +++ b/app/views/admin/streams/index.html.haml @@ -1,3 +1,4 @@ +- title "Streams" %table#entries %tr %th Title diff --git a/app/views/admin/streams/new.html.haml b/app/views/admin/streams/new.html.haml index 52febf5..875805a 100644 --- a/app/views/admin/streams/new.html.haml +++ b/app/views/admin/streams/new.html.haml @@ -1,2 +1,3 @@ +- title "New stream" = form_for @stream, url: admin_streams_url, html: { id: "entry-form" } do |f| = render partial: "form", locals: { f: f } diff --git a/app/views/admin/updates/edit.html.haml b/app/views/admin/updates/edit.html.haml index 5651d23..75a9957 100644 --- a/app/views/admin/updates/edit.html.haml +++ b/app/views/admin/updates/edit.html.haml @@ -1,2 +1,3 @@ +- title "Editing stream update" = form_for @update, url: admin_stream_update_url(@stream, @update), html: { id: "entry-form" } do |f| = render partial: "form", locals: { f: f } diff --git a/app/views/admin/updates/new.html.haml b/app/views/admin/updates/new.html.haml index 14c6d77..f6c1c20 100644 --- a/app/views/admin/updates/new.html.haml +++ b/app/views/admin/updates/new.html.haml @@ -1,2 +1,3 @@ +- title "New stream update" = form_for @update, url: admin_stream_updates_url(@stream), html: { id: "entry-form" } do |f| = render partial: "form", locals: { f: f } -- cgit 1.4.1