From 8e15dbd73035c2a2198a2828a20ddcebe0739823 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Tue, 3 Jul 2018 13:58:57 -0400 Subject: Implemented streams Currently there are no links to the pages for editing stream updates, and the admin panel for managing streams could probably have a better look & feel, but here's some basic working functionality. refs #8 --- app/views/admin/blogs/edit.html.haml | 2 +- app/views/admin/blogs/new.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'app/views/admin/blogs') diff --git a/app/views/admin/blogs/edit.html.haml b/app/views/admin/blogs/edit.html.haml index 3f4d412..f356069 100644 --- a/app/views/admin/blogs/edit.html.haml +++ b/app/views/admin/blogs/edit.html.haml @@ -1,2 +1,2 @@ -= form_for @blog, url: admin_blog_url(@blog), html: { id: "blog-form" } do |f| += 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/new.html.haml b/app/views/admin/blogs/new.html.haml index 914f27b..0005278 100644 --- a/app/views/admin/blogs/new.html.haml +++ b/app/views/admin/blogs/new.html.haml @@ -1,2 +1,2 @@ -= form_for @blog, url: admin_blogs_url, html: { id: "blog-form" } do |f| += form_for @blog, url: admin_blogs_url, html: { id: "entry-form" } do |f| = render partial: "form", locals: { f: f } -- cgit 1.4.1