update delete click

This commit is contained in:
Aung Myo
2017-10-19 18:25:39 +06:30
parent 575d1b0638
commit 1958d9de67
2 changed files with 11 additions and 9 deletions

View File

@@ -21,10 +21,7 @@ Search Bar -->
</a>
</div>
<!-- Start Delete confirrm text !-->
<span class="hidden" id="delete_text">
<h6>Are you sure you want to Logout ?</h6>
<!-- <h6>This action can't be undo. </h6> -->
</span>
<div class="navbar-right">
<a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
@@ -38,7 +35,11 @@ Search Bar -->
<%= link_to (t :logout),logout_path, method: :delete, data: {confirm: 'Are you sure?'} %>
<%end%>
<p class="delete" style="" data-ref="<%=logout_path%>" data-method="delete">Logout</a>
<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>