From e416f49808b4bddf2fb0e5018c4e4453b50bfd0e Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Thu, 29 Jun 2017 14:58:26 -0400 Subject: Added views for blog posts --- app/views/entries/edit.html.haml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 app/views/entries/edit.html.haml (limited to 'app/views/entries') diff --git a/app/views/entries/edit.html.haml b/app/views/entries/edit.html.haml new file mode 100644 index 0000000..1872366 --- /dev/null +++ b/app/views/entries/edit.html.haml @@ -0,0 +1,11 @@ += form_for @entry, url: @entry.path do |f| + .field + = f.label :title + = f.text_field :title + .field + = f.label :body + = f.text_area :body + .field + = f.label :slug + = f.text_field :slug + = f.submit -- cgit 1.4.1