manage.html.slim
.modal.binder-modal.fade data-selected-ids=[] [id="edit-files-modal"]
.modal-dialog
.modal-content
.modal-header
button.close aria-label="Close" data-dismiss="modal" type="button"
span aria-hidden="true" ×
h4.modal-title Edit Files
.modal-body
.container-fluid
.row-fluid
.credentials
= select_tag 'credentials', options_from_collection_for_select(credentials_for_current_user_and_account(current_user, @account), :first, :last)
.selectors
.file-box-select-all
= link_to 'Select All', '#'
.file-box-deselect-all
= link_to 'Deselect All', '#'
.row-fluid
.list-group[class="binder-#{decorator.id}"]
= render partial: 'file_binders/filebox', locals: { file_items: decorator.file_items, binder: decorator.binder, credential: decorator.credential }
.row-fluid
.text-center
.pagerx[class="pager-#{decorator.id}"]
= render partial: 'file_binders/pager', locals: { file_items: decorator.file_items, binder: decorator.binder, credential: decorator.credential }
.modal-footer
button.add-selected.btn.btn-primary class="add-selected-#{decorator.id}" data-dismiss='modal' data-count=0 data-file-items=[]
| Remove Selected
button.btn.btn-cancel aria-label="Close" id="modalCloseButton#{decorator.id}" data-dismiss="modal" type="button" aria-hidden="true" Cancel