add panel-footer to inbox panel
This commit is contained in:
parent
8ff92dca15
commit
ddbff78926
|
@ -23,8 +23,20 @@
|
|||
Answer
|
||||
%button.btn.btn-danger{name: 'ib-destroy', data: { ib_id: i.id }}
|
||||
Delete
|
||||
%button.btn.btn-default
|
||||
Options
|
||||
.panel-footer
|
||||
%h4 Sharing
|
||||
- if @services.count > 0
|
||||
.row
|
||||
- current_user.services.each do |service|
|
||||
.col-md-2.col-sm-4.col-xs-6
|
||||
%label
|
||||
%input{type: 'checkbox', name: 'ib-share', checked: :checked, data: { ib_id: i.id, service: service.provider }}
|
||||
Post to
|
||||
= service.provider.capitalize
|
||||
- else
|
||||
%p
|
||||
You have not connected any services yet. Visit your
|
||||
= link_to "service settings", services_path
|
||||
to connect one.
|
Loading…
Reference in New Issue