File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
resources/themes/pterodactyl/admin/users Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 149149 <h3 class =" box-title" >Delete User</h3 >
150150 </div >
151151 <div class =" box-body" >
152- <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 >
153- < p ></ p >
154- < form action = " {{ route ( ' admin.users.view ' , $user -> id ) } } " method = " POST " class =" text-center " >
155- {!! method_field ( ' DELETE ' ) ! !}
152+ <p class =" no-margin " > There most be no servers associated with this account in order for it to be deleted.</p >
153+ </ div >
154+ < div class =" box-footer " >
155+ < form action = " {{ route ( ' admin.users.view ' , $user -> id ) } } " method = " POST " >
156156 {!! csrf_field () ! !}
157- <input id =" delete" type =" submit" class =" btn btn-sm btn-danger" value =" Delete User" />
157+ {!! method_field (' DELETE ' ) ! !}
158+ <input id =" delete" type =" submit" class =" btn btn-sm btn-danger pull-right" {{ $user -> servers -> count () < 1 ?: ' disabled' } } value =" Delete User" />
158159 </form >
159160 </div >
160161 </div >
You can’t perform that action at this time.
0 commit comments