Sha256: aa60ac8f174891069820daaf05908aba3a67a52c2a38f635aaa2f5b7bb47145e

Contents?: true

Size: 1.17 KB

Versions: 21

Compression:

Stored size: 1.17 KB

Contents

<div class="media">

  <div class="pull-left ml-10" style="width:65%;">

  	<h1><%= @permission.id %></h1>
    
    <%= clear_tag %>
  </div>

</div>

<h4 class="mb-20">Technical Details</h4>

<div class="table-responsive mb-50"> 
	<table class="table table-striped table-condensed table-bordered"> 
		<tbody>

			<tr>
				<th>Created At</th><td><%= @permission.created_at.strftime("%m/%d/%Y - %H:%M:%S") if @permission.created_at %></td>
				<th>Updated At</th><td><%= @permission.updated_at.strftime("%m/%d/%Y - %H:%M:%S") if @permission.updated_at %></td>
			</tr>
			
		</tbody>
	</table>
</div>

<div>
	<% 
		edit_link = edit_permission_url(id: @permission.id)
		delete_link = permission_url(id: @permission.id) 
	%>
	
	<%= link_to raw("<i class=\"fa fa-close mr-5\"></i> <span>Cancel</span>"), "#", onclick: "closeGenericModal();", class: "btn btn-white pull-left" %>

	<%= link_to raw("<i class=\"fa fa-trash mr-5\"></i> <span>Delete</span>"), delete_link, method: :delete, :remote=>true, class: "btn btn-gray pull-right" %>

	<%= link_to raw("<i class=\"fa fa-edit mr-5\"></i> Edit"), edit_link, method: :get, :remote=>true, class: "btn btn-gray pull-right mr-10" %>
</div>

<%= clear_tag %>

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
usman-0.3.9 app/views/usman/permissions/_show.html.erb
usman-0.3.8 app/views/usman/permissions/_show.html.erb
usman-0.3.7 app/views/usman/permissions/_show.html.erb
usman-0.3.6 app/views/usman/permissions/_show.html.erb
usman-0.3.5 app/views/usman/permissions/_show.html.erb
usman-0.3.4 app/views/usman/permissions/_show.html.erb
usman-0.3.3 app/views/usman/permissions/_show.html.erb
usman-0.3.2 app/views/usman/permissions/_show.html.erb
usman-0.3.1 app/views/usman/permissions/_show.html.erb
usman-0.3.0 app/views/usman/permissions/_show.html.erb
usman-0.2.11 app/views/usman/permissions/_show.html.erb
usman-0.2.10 app/views/usman/permissions/_show.html.erb
usman-0.2.9 app/views/usman/permissions/_show.html.erb
usman-0.2.8 app/views/usman/permissions/_show.html.erb
usman-0.2.7 app/views/usman/permissions/_show.html.erb
usman-0.2.6 app/views/usman/permissions/_show.html.erb
usman-0.2.5 app/views/usman/permissions/_show.html.erb
usman-0.2.3 app/views/usman/permissions/_show.html.erb
usman-0.2.2 app/views/usman/permissions/_show.html.erb
usman-0.2.1 app/views/usman/permissions/_show.html.erb