
<div class="page-header">
  <ol class="breadcrumb">
    <li class="breadcrumb-item"><a href="<%= dashboard_path %>"><%= t("views.right_panel.button.home") %></a></li>
    <li class="breadcrumb-item"><a href="<%= settings_item_sets_path %>"><%= t("views.right_panel.detail.item_set") %></a></li>
    <li class="breadcrumb-item active"><%= t :details %></li>
    <span class="float-right">
      <%= link_to t("views.btn.back"), settings_item_sets_path %>     
    </span>
  </ol>
</div>
<div class="row">
  <div class="col-xs-12 col-sm-12 col-md-8 col-lg-8">
   <div class="card">
   <div class="card-block">
      <table class="table">

        <tbody>
          <tr>
            <td><strong><%= t("views.right_panel.detail.name") %>:</strong></td>
            <td><%= @settings_item_set.name %></td>
          </tr>
          <tr>
            <td><strong><%= t("views.right_panel.detail.alt_name") %>:</strong></td>
            <td><%= @settings_item_set.alt_name %></td>
          </tr>
          <tr>
            <td><strong><%= t("views.right_panel.detail.min_selectable_qty") %>:</strong></td>
            <td> <%= @settings_item_set.min_selectable_qty %></td>
          </tr>
          <tr>
            <td><strong><%= t("views.right_panel.detail.max_selectable_qty") %>:</strong></td>
            <td><%= @settings_item_set.max_selectable_qty %></td>
          </tr>
          <tr>
            <td></td>
            <td><%= link_to t("views.btn.edit"), edit_settings_item_set_path(@settings_item_set),:class=>'btn btn-sm btn-primary waves-effect' %>
              
              <button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%=settings_item_set_path(@settings_item_set)%>" 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>
        </tbody>
      </table>
    </div>
  </div>
</div>
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4">
  <div class="card">
    <div class="body">
      <h5><i class="material-icons md-18">view_headline <%= t("views.right_panel.header.page_detail") %></i></h5>
      <p>
      1) <%= t("views.right_panel.detail.name") %> - <%= t("views.right_panel.detail.item_set_txt") %> <%= t("views.right_panel.detail.name_txt2") %> <br> 
      2) <%= t("views.right_panel.detail.alt_name") %> - <%= t("views.right_panel.detail.alt_name_txt") %> <%= t("views.right_panel.detail.for") %> <%= t("views.right_panel.detail.item_set_txt") %> <br>
      3) <%= t("views.right_panel.detail.min_selectable_qty") %> - <%= t("views.right_panel.detail.min_selectable_qty_txt") %> <%= t("views.right_panel.detail.for") %> <%= t("views.right_panel.detail.item_set_txt") %> <br>
      4) <%= t("views.right_panel.detail.max_selectable_qty") %> - <%= t("views.right_panel.detail.max_selectable_qty_txt") %> <%= t("views.right_panel.detail.for") %> <%= t("views.right_panel.detail.item_set_txt") %> <br>
      </p>
      <h5><i class="material-icons md-18">list <%= t("views.right_panel.header.button_lists") %></i> </h5>
      <p>
      1) <%= t("views.right_panel.button.edit") %> - <%= t("views.right_panel.detail.edit_btn_txt") %> <%= t("views.right_panel.detail.item_set_txt") %> <br>
      2) <%= t("views.right_panel.button.delete") %> - <%= t("views.right_panel.detail.delete_btn_txt") %> <%= t("views.right_panel.detail.item_set_txt") %> <br>
      </p>
      <h5><i class="material-icons md-18">list <%= t("views.right_panel.header.link_lists") %></i> </h5>
      <p>
        1) <%= t("views.right_panel.button.home") %> - <%= t("views.right_panel.detail.home_txt") %> <br>
        2) <%= t("views.right_panel.button.back") %> - <%= t("views.right_panel.detail.back_txt") %> <%= t("views.right_panel.detail.item_set_txt") %> <br>
      </p>
    </div>
  </div>  
</div>
</div>





