mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-02 23:56:56 +08:00
Cleaned up usage of some core scss files
This commit is contained in:
@ -1,5 +0,0 @@
|
||||
<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 : trans('common.delete') }}</button>
|
||||
</form>
|
@ -1,5 +1,5 @@
|
||||
<input type="password" id="{{ $name }}" name="{{ $name }}"
|
||||
@if($errors->has($name)) class="neg" @endif
|
||||
@if($errors->has($name)) class="text-neg" @endif
|
||||
@if(isset($placeholder)) placeholder="{{$placeholder}}" @endif
|
||||
@if(isset($tabindex)) tabindex="{{$tabindex}}" @endif
|
||||
@if(old($name)) value="{{ old($name)}}" @endif>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<select id="{{ $name }}" name="{{ $name }}">
|
||||
@foreach($options as $option)
|
||||
<option value="{{$option->id}}"
|
||||
@if($errors->has($name)) class="neg" @endif
|
||||
@if($errors->has($name)) class="text-neg" @endif
|
||||
@if(isset($model) || old($name)) @if(old($name) && old($name) === $option->id) selected @elseif(isset($model) && $model->role->id === $option->id) selected @endif @endif
|
||||
>
|
||||
{{ $option->display_name }}
|
||||
|
@ -1,5 +1,5 @@
|
||||
<input type="text" id="{{ $name }}" name="{{ $name }}"
|
||||
@if($errors->has($name)) class="neg" @endif
|
||||
@if($errors->has($name)) class="text-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>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<textarea id="{{ $name }}" name="{{ $name }}" rows="5"
|
||||
@if($errors->has($name)) class="neg" @endif>@if(isset($model) || old($name)){{ old($name) ? old($name) : $model->$name}}@endif</textarea>
|
||||
@if($errors->has($name)) class="text-neg" @endif>@if(isset($model) || old($name)){{ old($name) ? old($name) : $model->$name}}@endif</textarea>
|
||||
@if($errors->has($name))
|
||||
<div class="text-neg text-small">{{ $errors->first($name) }}</div>
|
||||
@endif
|
Reference in New Issue
Block a user