]> BookStack Code Mirror - bookstack/blobdiff - resources/views/form/text.blade.php
Updated 'Spanish Argentina' translation.
[bookstack] / resources / views / form / text.blade.php
index 063eb3b0f9ea2aa32d5336c685d11006cd19a6f7..3379b69b7f2fcb1bf89cb75962b7e03d99199ae6 100644 (file)
@@ -1,5 +1,7 @@
 <input type="text" id="{{ $name }}" name="{{ $name }}"
        @if($errors->has($name)) class="neg" @endif
+       @if(isset($placeholder)) placeholder="{{$placeholder}}" @endif
+       @if(isset($tabindex)) tabindex="{{$tabindex}}" @endif
        @if(isset($model) || old($name)) value="{{ old($name) ? old($name) : $model->$name}}" @endif>
 @if($errors->has($name))
     <div class="text-neg text-small">{{ $errors->first($name) }}</div>