diff options
| author | Kir | 2011-11-01 20:23:57 +0400 |
|---|---|---|
| committer | Kir | 2011-11-01 20:23:57 +0400 |
| commit | e855fb8574570934cde28cfb190cc3cba31fbec0 (patch) | |
| tree | 8cd131551d43b3aaa13d7d7e71517b1424271ff0 /app/views/messages | |
| parent | 6477ad7cdba8a06fa00be6c374aaa1cad2d2f505 (diff) | |
| download | inboxes-e855fb8574570934cde28cfb190cc3cba31fbec0.tar.bz2 | |
New scope and templates
Diffstat (limited to 'app/views/messages')
| -rw-r--r-- | app/views/messages/_form.html.haml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/app/views/messages/_form.html.haml b/app/views/messages/_form.html.haml index 78ccaa0..f85ed37 100644 --- a/app/views/messages/_form.html.haml +++ b/app/views/messages/_form.html.haml @@ -1,6 +1,7 @@ .message_form = form_for Message.new, :url => discussion_messages_path(@discussion.id), :method => :post do |f| - = f.text_area :body - = f.submit "Отправить" - -= link_to "Выйти из переписки", leave_discussion_path(@discussion), :method => :post unless @discussion.private?
\ No newline at end of file + %p + = f.label :body + %br + = f.text_area :body + %p= f.submit
\ No newline at end of file |
