]> 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 0221dee9abdcdb390f284c5e5bf406d7d3877422..74b993b3c681e80ecb17d8280c1add4bd4fadab1 100644 (file)
@@ -4,13 +4,13 @@
 
     <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>