]> BookStack Code Mirror - bookstack/blobdiff - resources/views/users/delete.blade.php
Page Attachments - Improved UI, Now initially complete
[bookstack] / resources / views / users / delete.blade.php
index 6717b147138fbd221b8ff88a54a3ce41835f88bf..74b993b3c681e80ecb17d8280c1add4bd4fadab1 100644 (file)
@@ -2,21 +2,17 @@
 
 @section('content')
 
-    <div class="container small">
+    <div class="container small" ng-non-bindable>
         <h1>Delete User</h1>
-        <p>This will fully delete this user with the name '<span class="text-neg">{{$user->name}}</span>' from the system.</p>
+        <p>This will fully delete this user with the name '<span class="text-neg">{{ $user->name }}</span>' from the system.</p>
         <p class="text-neg">Are you sure you want to delete this user?</p>
 
-        <form action="/users/{{$user->id}}" method="POST">
+        <form action="{{ baseUrl("/settings/users/{$user->id}") }}" method="POST">
             {!! csrf_field() !!}
             <input type="hidden" name="_method" value="DELETE">
-            <a href="/users/{{$user->id}}" class="button muted">Cancel</a>
+            <a href="{{ baseUrl("/settings/users/{$user->id}") }}" class="button muted">Cancel</a>
             <button type="submit" class="button neg">Confirm</button>
         </form>
     </div>
 
 @stop
-
-@section('bottom')
-    @include('pages/image-manager')
-@stop
\ No newline at end of file