2020-05-10 03:53:30 -07:00
|
|
|
|
.modal.fade#modal-ask-followers{ aria: { hidden: true, labelledby: 'modal-ask-followers-label' }, role: :dialog, tabindex: -1 }
|
2014-12-07 11:18:53 -08:00
|
|
|
|
.modal-dialog
|
|
|
|
|
.modal-content
|
|
|
|
|
.modal-header
|
2020-05-10 03:53:30 -07:00
|
|
|
|
%h5.modal-title#modal-ask-followers-label= t 'views.modal.ask.title'
|
|
|
|
|
%button.close{ data: { dismiss: :modal }, type: :button }
|
|
|
|
|
%span{ aria: { hidden: true } } ×
|
2015-06-07 14:52:03 -07:00
|
|
|
|
%span.sr-only= t 'views.actions.close'
|
2014-12-07 11:18:53 -08:00
|
|
|
|
.modal-body
|
2020-05-10 03:53:30 -07:00
|
|
|
|
%textarea.form-control{ name: 'qb-all-question', placeholder: t('views.placeholder.question') }
|
2014-12-07 11:18:53 -08:00
|
|
|
|
.modal-footer
|
2020-05-25 09:04:54 -07:00
|
|
|
|
- if current_user.lists.count.positive?
|
2015-01-13 05:50:28 -08:00
|
|
|
|
%label
|
2015-06-07 14:52:03 -07:00
|
|
|
|
= t 'views.modal.ask.choose'
|
2020-05-10 13:27:39 -07:00
|
|
|
|
%select.form-control{ name: 'qb-all-rcpt', autocomplete: :off }
|
2020-05-10 03:53:30 -07:00
|
|
|
|
%option{ value: 'followers', selected: true }= t('views.general.follower').pluralize(2)
|
2020-05-25 09:04:54 -07:00
|
|
|
|
%optlist{ label: t('views.list.title').pluralize(2) }
|
|
|
|
|
- current_user.lists.each do |list|
|
|
|
|
|
%option{ value: "grp:#{list.name}" }= list.display_name
|
2020-05-10 03:53:30 -07:00
|
|
|
|
%button.btn.btn-default{ type: :button, data: { dismiss: :modal } }= t 'views.actions.cancel'
|
|
|
|
|
%button.btn.btn-primary{ name: 'qb-all-ask', type: :button, data: { loading_text: t('views.modal.ask.loading') } }= t 'views.actions.ask'
|