about summary refs log tree commit diff stats
path: root/app/views/admin/updates
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/updates')
-rw-r--r--app/views/admin/updates/_form.html.haml2
-rw-r--r--app/views/admin/updates/edit.html.haml3
-rw-r--r--app/views/admin/updates/new.html.haml1
3 files changed, 4 insertions, 2 deletions
diff --git a/app/views/admin/updates/_form.html.haml b/app/views/admin/updates/_form.html.haml index 9dd8741..f20e5a0 100644 --- a/app/views/admin/updates/_form.html.haml +++ b/app/views/admin/updates/_form.html.haml
@@ -4,7 +4,7 @@
4 = f.text_field :title, value: @stream.title, readonly: true 4 = f.text_field :title, value: @stream.title, readonly: true
5 .body-field 5 .body-field
6 = f.label :body 6 = f.label :body
7 = f.cktext_area :body 7 = f.text_area :body
8%fieldset#details 8%fieldset#details
9 - if f.object.errors.any? 9 - if f.object.errors.any?
10 #errors.details-module 10 #errors.details-module
diff --git a/app/views/admin/updates/edit.html.haml b/app/views/admin/updates/edit.html.haml index 5651d23..3cab0b6 100644 --- a/app/views/admin/updates/edit.html.haml +++ b/app/views/admin/updates/edit.html.haml
@@ -1,2 +1,3 @@
1= form_for @update, url: admin_stream_update_url(@stream, @update), html: { id: "entry-form" } do |f| 1- title "Editing stream update"
2= form_for @update, url: admin_stream_update_url(@stream.id, @update), 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/updates/new.html.haml b/app/views/admin/updates/new.html.haml index 14c6d77..f6c1c20 100644 --- a/app/views/admin/updates/new.html.haml +++ b/app/views/admin/updates/new.html.haml
@@ -1,2 +1,3 @@
1- title "New stream update"
1= form_for @update, url: admin_stream_updates_url(@stream), html: { id: "entry-form" } do |f| 2= form_for @update, url: admin_stream_updates_url(@stream), html: { id: "entry-form" } do |f|
2 = render partial: "form", locals: { f: f } 3 = render partial: "form", locals: { f: f }