merge with origin
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
Search Bar -->
|
||||
<!-- Search Bar -->
|
||||
<!-- <div class="search-bar">
|
||||
<div class="search-icon">
|
||||
<i class="material-icons">search</i>
|
||||
@@ -32,15 +32,12 @@ Search Bar -->
|
||||
<ul class="dropdown-menu">
|
||||
<li>
|
||||
<%if current_login_employee.role !="waiter" %>
|
||||
<%= link_to (t :logout),logout_path, method: :delete,"data-no-turbolink" => true, data: {confirm: 'Are you sure?'} %>
|
||||
<p class="delete waves-effect waves-block" style="margin:0.5rem 1rem !important;" data-ref="<%=logout_path%>" data-method="delete">Logout</p>
|
||||
<span class="hidden" id="delete_text">
|
||||
<h6>Are you sure you want to Logout ?</h6>
|
||||
<!-- <h6>This action can't be undo. </h6> -->
|
||||
</span>
|
||||
<%end%>
|
||||
|
||||
<p class="delete" style="" data-ref="<%=logout_path%>" data-method="delete">Logout</p>
|
||||
<span class="hidden" id="delete_text">
|
||||
<h6>Are you sure you want to Logout ?</h6>
|
||||
<!-- <h6>This action can't be undo. </h6> -->
|
||||
</span>
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
<a href="javascript:void(0);" class="js-right-sidebar" data-close="true">
|
||||
@@ -48,10 +45,4 @@ Search Bar -->
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
<!-- #Top Bar
|
||||
|
||||
<!-- <form action="<%=logout_path%>" method="DELETE">
|
||||
<button type="text" class="delete" value="x" >DELETE</button>
|
||||
</form> -->
|
||||
<!-- <a href="<%= logout_path %>"><i class="material-icons">input</i>Sign Out</a>
|
||||
</nav>
|
||||
Reference in New Issue
Block a user