add panel-footer to inbox panel
This commit is contained in:
parent
8ff92dca15
commit
ddbff78926
|
@ -23,8 +23,20 @@
|
||||||
Answer
|
Answer
|
||||||
%button.btn.btn-danger{name: 'ib-destroy', data: { ib_id: i.id }}
|
%button.btn.btn-danger{name: 'ib-destroy', data: { ib_id: i.id }}
|
||||||
Delete
|
Delete
|
||||||
- current_user.services.each do |service|
|
%button.btn.btn-default
|
||||||
%label
|
Options
|
||||||
%input{type: 'checkbox', name: 'ib-share', checked: :checked, data: { ib_id: i.id, service: service.provider }}
|
.panel-footer
|
||||||
Post to
|
%h4 Sharing
|
||||||
= service.provider.capitalize
|
- 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