Sha256: 74f8fd18abcc115a1e61fe1091fd28a1408329afdf860a72153f2b0e843359dd

Contents?: true

Size: 963 Bytes

Versions: 4

Compression:

Stored size: 963 Bytes

Contents

<%= content_tag component.tag_name, component.html_options do %>
  <div class="select-result-delegate">
    <div class="selected-text"></div>
    <div class="placeholder"><%= component.placeholder %></div>
    <div class="icon-wrapper">
      <%= tao_icon component.options[:icon] %>
    </div>
  </div>

  <%= tao_slide_box direction: 'rtl', size: '-40', with_close_button: false, class: 'slide-box' do %>
    <div class="header">
      <div class="left">
        <%= link_to 'javascript:;', class: 'link-close', title: component.t(:close) do %>
          <%= tao_icon :close %>
        <% end %>
      </div>
      <div class="title"><%= component.placeholder %></div>
      <div class="right">
        <% if component.multiple %>
          <%= link_to component.t(:ok), 'javascript:;', class: 'button button-small button-ok' %>
        <% end %>
      </div>
    </div>
    <%= component.render_result %>
    <%= component.render_list %>
  <% end %>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tao_form-0.1.3 lib/views/components/tao_form/components/_select.html+mobile.erb
tao_form-0.1.2 lib/views/components/tao_form/components/_select.html+mobile.erb
tao_form-0.1.1 lib/views/components/tao_form/components/_select.html+mobile.erb
tao_form-0.1.0 lib/views/components/tao_form/components/_select.html+mobile.erb