Sha256: 719e00748b104150aa9e85be868ea7ea66dd33ecffeb02c2a13ee8e8a4044668
Contents?: true
Size: 1.97 KB
Versions: 2
Compression:
Stored size: 1.97 KB
Contents
.panel.panel-default.effective-panel-select{'data-input-js-options' => input.js_options.to_json } = hidden_field_tag(input.field_name, input.value) .selection %span.selection-title - if input.option_label.present? %span.selection-clear x %span.selection-label= input.option_label.html_safe - else %span.selection-placeholder Please choose %span.selection-arrow %b - if input.show_search? .search .row .col-sm-4 %input.search-value{type: 'search', autocomplete: :off, autocorrect: :off, autocapitalization: :off, spellcheck: false, role: 'textbox'} .col-sm-8 %span.search-results .selector .row .col-sm-4 %ul.nav.nav-pills{role: 'tablist', class: input.options[:sidebar_class]} - input.collection.each do |group, items| %li %a{'data-toggle': 'tab', role: 'tab', href: "##{group.send(input.options[:group_method]).parameterize}"} = group.send(input.options[:group_label_method]).html_safe - if input.show_count? %span.badge= items.length .col-sm-8 .tab-content - input.collection.each do |group, items| .tab-pane{id: group.send(input.options[:group_method]).parameterize} %ul.nav.nav-pills.nav-stacked - Array(items).each do |item| %li{'data-item-value' => item.send(input.options[:option_key_method])} %a{href: '#'} = item.send(input.options[:option_value_method]).html_safe - if input.ajax? %span.badge.pull-right{'data-fetch-item' => true} View - if input.ajax? .tab-pane.fetched .row.effective-panel-select-actions .col-xs-6 .btn.btn-default.fetched-clear Back .col-xs-6.text-right .btn.btn-primary.fetched-select Select
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
effective_form_inputs-1.1.9 | app/views/effective/effective_panel_select/_input.html.haml |
effective_form_inputs-1.1.8 | app/views/effective/effective_panel_select/_input.html.haml |