diff options
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 |
