about summary refs log tree commit diff stats
path: root/app/views/entries
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-06-29 14:58:26 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-06-29 14:58:26 -0400
commite416f49808b4bddf2fb0e5018c4e4453b50bfd0e (patch)
tree0f0aecbe00e62da4fad5d95d0450f7a2bfd267e8 /app/views/entries
parent4cffc8c90b5e316baf3e49b665dd67ea9e965272 (diff)
downloadthoughts-e416f49808b4bddf2fb0e5018c4e4453b50bfd0e.tar.gz
thoughts-e416f49808b4bddf2fb0e5018c4e4453b50bfd0e.tar.bz2
thoughts-e416f49808b4bddf2fb0e5018c4e4453b50bfd0e.zip
Added views for blog posts
Diffstat (limited to 'app/views/entries')
-rw-r--r--app/views/entries/edit.html.haml11
1 files changed, 11 insertions, 0 deletions
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 @@
1= form_for @entry, url: @entry.path do |f|
2 .field
3 = f.label :title
4 = f.text_field :title
5 .field
6 = f.label :body
7 = f.text_area :body
8 .field
9 = f.label :slug
10 = f.text_field :slug
11 = f.submit