]> BookStack Code Mirror - bookstack/blobdiff - resources/views/form/restriction-form.blade.php
Added restriction tests and fixed any bugs in the process
[bookstack] / resources / views / form / restriction-form.blade.php
index cb42497b4dd2aeb660a1787398b8f0357003c26b..d2fa239826b6d7a346bd66c554362e3a62e89286 100644 (file)
@@ -3,7 +3,7 @@
     <input type="hidden" name="_method" value="PUT">
 
     <div class="form-group">
-        @include('form/checkbox', ['name' => 'restricted', 'label' => 'Restrict this page?'])
+        @include('form/checkbox', ['name' => 'restricted', 'label' => 'Restrict this ' . $model->getClassName()])
     </div>
 
     <table class="table">
@@ -24,5 +24,6 @@
         @endforeach
     </table>
 
+    <a href="{{ $model->getUrl() }}" class="button muted">Cancel</a>
     <button type="submit" class="button pos">Save Restrictions</button>
 </form>
\ No newline at end of file