Sha256: 1ea4a661eba3e43776147168e6705b8737795db6f113c41064532436b6ad4347

Contents?: true

Size: 961 Bytes

Versions: 6

Compression:

Stored size: 961 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 :arrow_right %>
    </div>
  </div>

  <%= tao_slide_box direction: 'rtl', size: '-40', without_padding: true, modal: true, 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

6 entries across 6 versions & 1 rubygems

Version Path
tao_form-0.1.9 lib/views/components/tao_form/components/_select.html+mobile.erb
tao_form-0.1.8 lib/views/components/tao_form/components/_select.html+mobile.erb
tao_form-0.1.7 lib/views/components/tao_form/components/_select.html+mobile.erb
tao_form-0.1.6 lib/views/components/tao_form/components/_select.html+mobile.erb
tao_form-0.1.5 lib/views/components/tao_form/components/_select.html+mobile.erb
tao_form-0.1.4 lib/views/components/tao_form/components/_select.html+mobile.erb