1 <div class="modal arv-choose">
2 <div class="modal-dialog" style="width:80%">
3 <div class="modal-content">
4 <div class="modal-header">
5 <button type="button" class="close" onClick="reset_form()" data-dismiss="modal" aria-hidden="true">×</button>
6 <h4 class="modal-title"><%= params[:title] || "Choose #{@objects.first.andand.class_for_display}" %></h4>
8 <div class="modal-body">
9 <nav class="navbar navbar-default breadcrumbs" role="navigation">
10 <ul class="nav navbar-nav navbar-left">
12 <%= render partial: "projects_tree_menu", locals: {
13 :project_link_to => Proc.new do |pnode, &block|
14 link_to "#", {"class" => "chooser-show-project", "data-project-uuid" => pnode[:object].uuid }, &block
16 :top_button => Proc.new do %>
17 <% link_to "#", {"class" => "chooser-show-project btn btn-xs btn-default pull-right" } do %>
18 All <%= controller.model_class.class_for_display.pluralize.downcase %>
23 <li class="nav-separator">
24 <i class="fa fa-lg fa-angle-double-right"></i>
26 <li><p class="navbar-text" id="chooser-breadcrumb">All <%= controller.model_class.class_for_display.pluralize.downcase %></span></li>
28 <div class="navbar-form navbar-right">
29 <input type="text" class="form-control filterable-control" placeholder="Search" data-filterable-target=".modal.arv-choose .selectable-container"/>
33 <div class="row" style="height: 20em">
34 <div class="col-sm-6 container-fluid arv-filterable-list selectable-container"
35 style="height: 100%; overflow-y: scroll"
36 data-infinite-scroller="#choose-scroll"
38 data-infinite-content-href="<%= @next_page_href %>">
39 <%= render partial: 'choose_rows', locals: {multiple: multiple} %>
41 <div class="col-sm-6 modal-dialog-preview-pane" style="height: 100%; overflow-y: scroll">
45 <div class="modal-footer">
46 <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Cancel</button>
47 <button class="btn btn-primary" aria-hidden="true" data-enable-if-selection disabled><%= raw(params[:action_name]) || 'Select' %></button>
48 <div class="modal-error hide" style="text-align: left; margin-top: 1em;">