diff options
Diffstat (limited to 'app/views/admin/blogs')
-rw-r--r-- | app/views/admin/blogs/drafts.html.haml | 1 | ||||
-rw-r--r-- | app/views/admin/blogs/edit.html.haml | 1 | ||||
-rw-r--r-- | app/views/admin/blogs/index.html.haml | 1 | ||||
-rw-r--r-- | app/views/admin/blogs/new.html.haml | 1 | ||||
-rw-r--r-- | app/views/admin/blogs/show.html.haml | 1 |
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 |