]> BookStack Code Mirror - bookstack/blobdiff - resources/views/settings/roles/delete.blade.php
Updated all application urls to allow path prefix.
[bookstack] / resources / views / settings / roles / delete.blade.php
index 5d1ffe2594cb5f040145b0ecdd74198eac941d95..1377d07aeb7857528d1ae72ca0d48e506cbb2c2f 100644 (file)
@@ -6,9 +6,9 @@
 
     <div class="container small" ng-non-bindable>
         <h1>Delete Role</h1>
-        <p>This will delete the role with the name '{{$role->display_name}}'.</p>
+        <p>This will delete the role with the name '{{ $role->display_name }}'.</p>
 
-        <form action="/settings/roles/delete/{{$role->id}}" method="POST">
+        <form action="{{ baseUrl("/settings/roles/delete/{$role->id}") }}" method="POST">
             {!! csrf_field() !!}
             <input type="hidden" name="_method" value="DELETE">
 
@@ -20,7 +20,7 @@
             @endif
 
             <p class="text-neg">Are you sure you want to delete this role?</p>
-            <a href="/settings/roles/{{ $role->id }}" class="button">Cancel</a>
+            <a href="{{ baseUrl("/settings/roles/{$role->id}") }}" class="button">Cancel</a>
             <button type="submit" class="button neg">Confirm</button>
         </form>
     </div>