
<div class="page-header">
  <ol class="breadcrumb">
    <li class="breadcrumb-item"><a href="<%= dashboard_path %>">Home</a></li>
    <li class="breadcrumb-item active">LookUp</li>
    <span class="float-right">
      <%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %>
    </span>
  </ol>
</div>

<div class="row">
  <div class="col-xs-12 col-sm-12 col-md-9 col-lg-9">
  <div class="m-b-10 clearfix">
  <%= link_to t("views.btn.new"),new_settings_lookup_path,:class => 'btn btn-primary btn-lg float-right waves-effect"' %>
</div>
    <div class="card"  id="custom-slimscroll">
    <table class="table table-striped">
      <thead>
      <tr>
        <th>Lookup type</th>
        <th>Name</th>
        <th>Value</th>
        <th>Action</th>
      </tr>
    </thead>

    <tbody>
      <% @settings_lookups.each do |settings_lookup| %>
        <tr>
          <td><%= settings_lookup.lookup_type %></td>
          <td><%= settings_lookup.name %></td>
          <td><%= settings_lookup.value %></td>
          <!-- <td><%= link_to t("views.btn.show"), settings_lookup_path(settings_lookup),:class => 'btn btn-info btn-sm waves-effect' %></td> -->
          <td>
          <%= link_to t("views.btn.edit"), edit_settings_lookup_path(settings_lookup),:class => 'btn btn-primary btn-sm waves-effect' %> 
          <!--   <button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%=settings_lookup_path(settings_lookup)%>" data-method="delete">
              <%= t("views.btn.delete") %>
            </button>

            <span class="hidden" id="delete_text">
              <h6>Are you sure you want to delete this row ?</h6>
              <h6>This action can't be undo. </h6> 
            </span> -->

          </td>
        </tr>
      <% end %>
    </tbody>
    </table>
  </div>
  </div>
 <div class="col-xs-12 col-sm-12 col-md-3 col-lg-3">
    <div class="card">
      <div class="body">
          Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
         tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
         quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
         consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
      </div>
    </div>  
  </div>
</div>

