aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/discussions/_form.html.haml
diff options
context:
space:
mode:
authorKir2011-11-01 20:23:57 +0400
committerKir2011-11-01 20:23:57 +0400
commite855fb8574570934cde28cfb190cc3cba31fbec0 (patch)
tree8cd131551d43b3aaa13d7d7e71517b1424271ff0 /app/views/discussions/_form.html.haml
parent6477ad7cdba8a06fa00be6c374aaa1cad2d2f505 (diff)
downloadinboxes-e855fb8574570934cde28cfb190cc3cba31fbec0.tar.bz2
New scope and templates
Diffstat (limited to 'app/views/discussions/_form.html.haml')
-rw-r--r--app/views/discussions/_form.html.haml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/discussions/_form.html.haml b/app/views/discussions/_form.html.haml
index 7ceee2b..303f0bb 100644
--- a/app/views/discussions/_form.html.haml
+++ b/app/views/discussions/_form.html.haml
@@ -1,12 +1,12 @@
= form_for @discussion do |f|
- %div
+ %p
= f.label :recipient_tokens
%br
= select_tag "discussion[recipient_tokens]", options_from_collection_for_select(User.all, :id, Inboxes::config.user_name), :multiple => true, :size => "4"
- %div
+ %p
= f.fields_for :messages do |j|
= j.label :body
%br
- = j.text_area :body, :label => "Сообщение"
+ = j.text_area :body
- = f.submit 'Отправить' \ No newline at end of file
+ %p= f.submit \ No newline at end of file