diff options
| author | Kir | 2011-10-31 21:43:34 +0400 |
|---|---|---|
| committer | Kir | 2011-10-31 21:43:34 +0400 |
| commit | 48c144ed34e2d5977bb8e5af8a9c7e8dfc253361 (patch) | |
| tree | a672937fb96b955f3c2d4364195926b3b14d01cb /app/views/messages/_form.html.haml | |
| parent | 3ddd221f5f235e34afb9d4bbc7a4fc05228f73a4 (diff) | |
| download | inboxes-48c144ed34e2d5977bb8e5af8a9c7e8dfc253361.tar.bz2 | |
Small changed
Diffstat (limited to 'app/views/messages/_form.html.haml')
| -rw-r--r-- | app/views/messages/_form.html.haml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/messages/_form.html.haml b/app/views/messages/_form.html.haml new file mode 100644 index 0000000..78ccaa0 --- /dev/null +++ b/app/views/messages/_form.html.haml @@ -0,0 +1,6 @@ +.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 |
