]> BookStack Code Mirror - bookstack/blobdiff - resources/views/form/delete-button.blade.php
#47 - Fixes the issues with the test case.
[bookstack] / resources / views / form / delete-button.blade.php
index a5b1f2809ecdb4d7058c39601f3e62c58410c4d7..6c53effae0e1712ea37b238ace006c71ad1ba716 100644 (file)
@@ -1,5 +1,5 @@
 <form action="{{$url}}" method="POST" class="inline">
     {{ csrf_field() }}
     <input type="hidden" name="_method" value="DELETE">
-    <button type="submit" class="button neg">{{ isset($text) ? $text : 'Delete' }}</button>
+    <button type="submit" class="button neg">{{ isset($text) ? $text : trans('common.delete') }}</button>
 </form>
\ No newline at end of file