about summary refs log tree commit diff stats
path: root/app/views/admin/blogs
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2018-07-06 16:52:48 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2018-07-06 16:52:48 -0400
commitdd231a335758873dcd9024db7618837094fcc0a5 (patch)
treef65a353ff0988e2be5970c29bd6bb7bb4d5c9edf /app/views/admin/blogs
parent2586fba3b8a181289c597071733774b3a406f675 (diff)
downloadthoughts-dd231a335758873dcd9024db7618837094fcc0a5.tar.gz
thoughts-dd231a335758873dcd9024db7618837094fcc0a5.tar.bz2
thoughts-dd231a335758873dcd9024db7618837094fcc0a5.zip
Added page titles
refs #4
Diffstat (limited to 'app/views/admin/blogs')
-rw-r--r--app/views/admin/blogs/drafts.html.haml1
-rw-r--r--app/views/admin/blogs/edit.html.haml1
-rw-r--r--app/views/admin/blogs/index.html.haml1
-rw-r--r--app/views/admin/blogs/new.html.haml1
-rw-r--r--app/views/admin/blogs/show.html.haml1
5 files changed, 5 insertions, 0 deletions
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 @@
1- title "Blog drafts"
1%table#entries 2%table#entries
2 %tr 3 %tr
3 %th Title 4 %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 @@
1- title "Editing #{@blog.title}"
1= form_for @blog, url: admin_blog_url(@blog), html: { id: "entry-form" } do |f| 2= form_for @blog, url: admin_blog_url(@blog), html: { id: "entry-form" } do |f|
2 = render partial: "form", locals: { f: f } 3 = 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 @@
1- title "Blogs"
1%table#entries 2%table#entries
2 %tr 3 %tr
3 %th Title 4 %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 @@
1- title "New blog"
1= form_for @blog, url: admin_blogs_url, html: { id: "entry-form" } do |f| 2= form_for @blog, url: admin_blogs_url, html: { id: "entry-form" } do |f|
2 = render partial: "form", locals: { f: f } 3 = 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 @@
1- title "Previewing #{@blog.title}"
1= render partial: "blogs/blog", object: @blog 2= render partial: "blogs/blog", object: @blog
2%footer#blog-footer 3%footer#blog-footer
3 This draft was last updated on 4 This draft was last updated on