From e47e83cf6bded3d1924b4d500193e7876833ef83 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 2 Jul 2017 13:03:43 -0400 Subject: Created admin panel Currently allows you to create and edit blogs, including associated records. Uses a WYSIWYG editor that allows uploading images. Also included jQuery :( --- app/views/admin/blogs/edit.html.haml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 app/views/admin/blogs/edit.html.haml (limited to 'app/views/admin/blogs/edit.html.haml') diff --git a/app/views/admin/blogs/edit.html.haml b/app/views/admin/blogs/edit.html.haml new file mode 100644 index 0000000..3f4d412 --- /dev/null +++ b/app/views/admin/blogs/edit.html.haml @@ -0,0 +1,2 @@ += form_for @blog, url: admin_blog_url(@blog), html: { id: "blog-form" } do |f| + = render partial: "form", locals: { f: f } -- cgit 1.4.1