implement commentable form for bills and contacts

wip 
This commit is contained in:
Arthur Poulet 2015-07-28 01:36:18 +02:00
parent d57ba8ad44
commit 774c5e9884
2 changed files with 4 additions and 0 deletions
app/views

View File

@ -32,4 +32,6 @@ p
= link_to t('back'), bills_path, class: 'btn btn-sm btn-default'
#comments.container-fluid
h2.page-header Comments
= render partial: "/comments/about", locals: {commentable: @bill}
= render partial: "/comments/form"

View File

@ -35,4 +35,6 @@ p
= link_to 'Back', contacts_path, class: 'btn btn-sm btn-default'
#comments.container-fluid
h2.page-header Comments
= render partial: "/comments/about", locals: {commentable: @contact}
= render partial: "/comments/form"