added %select to the ask followers modal
This commit is contained in:
parent
a8ed21942e
commit
9b0b2df18e
|
@ -9,5 +9,13 @@
|
|||
.modal-body
|
||||
%textarea.form-control{:name => "qb-all-question", :placeholder => "Type your question here…"}
|
||||
.modal-footer
|
||||
- if current_user.groups.count > 0
|
||||
%label
|
||||
Choose group:
|
||||
%select{name: 'qb-all-target', class: 'form-control', autocomplete: 'off'}
|
||||
%option{value: '_followers', selected: true} Followers
|
||||
%optgroup{label: 'Groups'}
|
||||
- current_user.groups.each do |group|
|
||||
%option{value: group.name}= group.display_name
|
||||
%button.btn.btn-default{"data-dismiss" => "modal", :type => "button"} Cancel
|
||||
%button.btn.btn-primary{name: 'qb-all-ask', :type => "button", data: {loading_text: 'Asking...' }} Ask
|
Loading…
Reference in New Issue