switch user delete box to the style from nodes for consistency
This commit is contained in:
parent
5c32a91200
commit
16aaf531d6
1 changed files with 6 additions and 5 deletions
|
@ -149,12 +149,13 @@
|
||||||
<h3 class="box-title">Delete User</h3>
|
<h3 class="box-title">Delete User</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="box-body">
|
<div class="box-body">
|
||||||
<div class="alert alert-danger"><strong>Warning!</strong> There most be no servers associated with this account in order for it to be deleted.</div>
|
<p class="no-margin">There most be no servers associated with this account in order for it to be deleted.</p>
|
||||||
<p></p>
|
</div>
|
||||||
<form action="{{ route('admin.users.view', $user->id) }}" method="POST" class="text-center">
|
<div class="box-footer">
|
||||||
{!! method_field('DELETE') !!}
|
<form action="{{ route('admin.users.view', $user->id) }}" method="POST">
|
||||||
{!! csrf_field() !!}
|
{!! csrf_field() !!}
|
||||||
<input id="delete" type="submit" class="btn btn-sm btn-danger" value="Delete User" />
|
{!! method_field('DELETE') !!}
|
||||||
|
<input id="delete" type="submit" class="btn btn-sm btn-danger pull-right" {{ $user->servers->count() < 1 ?: 'disabled' }} value="Delete User" />
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue