diff --git a/app/views/inbox/_entry.html.haml b/app/views/inbox/_entry.html.haml index fb65cce2..8acac5fa 100644 --- a/app/views/inbox/_entry.html.haml +++ b/app/views/inbox/_entry.html.haml @@ -23,8 +23,20 @@ Answer %button.btn.btn-danger{name: 'ib-destroy', data: { ib_id: i.id }} Delete - - current_user.services.each do |service| - %label - %input{type: 'checkbox', name: 'ib-share', checked: :checked, data: { ib_id: i.id, service: service.provider }} - Post to - = service.provider.capitalize \ No newline at end of file + %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. \ No newline at end of file