1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-31 15:24:31 +03:00

Vastly improved design

This commit is contained in:
Dan Brown
2015-07-15 22:55:49 +01:00
parent c4d0f38a67
commit 46217a5880
24 changed files with 439 additions and 140 deletions

View File

@ -1,4 +1,4 @@
<form action="{{$url}}" method="POST">
<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>

View File

@ -1,4 +1,4 @@
<textarea id="{{ $name }}" name="{{ $name }}"
<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))
<div class="text-neg text-small">{{ $errors->first($name) }}</div>