
<!-- Trigger the modal with a button -->
<button type="button" class="btn btn-info " data-toggle="modal" data-target="#InfoList{{@$list->id}}">
<li class="icon ti-alert"></li>
</button>
<!-- Modal -->
<div id="InfoList{{@$list->id}}" class="modal fade" role="dialog">
  <div class="modal-dialog">

    <!-- Modal content-->
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal">&times;</button>
        <h4 class="modal-title">@lang('home.list_contactus_full_info')</h4>
      </div>
      <div class="modal-body table-responsive ">
      
        <table class="table table-dark   table-striped table-bordered table-borderless table-hover ">
          <tr>
              <th class="col-md-2">#</th>
              <th class="col-md-2">{{ @$list->id }}</th>
          </tr>
          <tr>
              <th class="col-md-2">@lang('home.name')</th>
              <th class="col-md-2">{{ @$list->name }}</th>
          </tr>
          <tr>
              <th class="col-md-2">@lang('home.email')</th>
              <th class="col-md-2">{{ @$list->email }}</th>
          </tr>
          <tr>
              <th class="col-md-2">@lang('home.phone')</th>
              <th class="col-md-2">{{ @$list->phone }}</th>
          </tr>
          <tr>
              <th class="col-md-2">@lang('home.title')</th>
              <th class="col-md-2">{{ @$list->subject }}</th>
          </tr>
          <tr>
              <th class="col-md-2">@lang('home.content')</th>
              <th class="col-md-2">{{ @$list->message }}</th>
          </tr>
        </table>
    
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">@lang('home.close')</button>
        
      </div>
    </div>

  </div>
</div>