about summary refs log tree commit diff stats
path: root/app/views/admin/streams/_form.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/streams/_form.html.haml')
-rw-r--r--app/views/admin/streams/_form.html.haml6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/admin/streams/_form.html.haml b/app/views/admin/streams/_form.html.haml index ce457cb..a4d8c46 100644 --- a/app/views/admin/streams/_form.html.haml +++ b/app/views/admin/streams/_form.html.haml
@@ -7,7 +7,7 @@
7 = f.text_field :slug, placeholder: "insert-slug-here" 7 = f.text_field :slug, placeholder: "insert-slug-here"
8 .body-field 8 .body-field
9 = f.label :body 9 = f.label :body
10 = f.cktext_area :body 10 = f.text_area :body
11%fieldset#details 11%fieldset#details
12 - if f.object.errors.any? 12 - if f.object.errors.any?
13 #errors.details-module 13 #errors.details-module
@@ -16,6 +16,10 @@
16 - f.object.errors.full_messages.each do |error| 16 - f.object.errors.full_messages.each do |error|
17 %li= error 17 %li= error
18 .details-module 18 .details-module
19 .tags-field
20 = f.label :tag_list, "Tags"
21 = f.text_field :tag_list, type: :tags, value: f.object.tag_list.join(",")
22 .details-module
19 = f.fields_for :records, Record.new do |builder| 23 = f.fields_for :records, Record.new do |builder|
20 .should-create-record-field 24 .should-create-record-field
21 = builder.check_box :_destroy, {checked: false}, "0", "1" 25 = builder.check_box :_destroy, {checked: false}, "0", "1"