diff options
author | Mateja <mail@matejamaric.com> | 2020-11-02 17:51:39 +0100 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2020-11-02 17:51:39 +0100 |
commit | 2e588511a0dbb7f91c0f46015ccd65d1b280e251 (patch) | |
tree | 5e720f1269612246b68cfcc804486223213565b8 | |
parent | cdd9fcf7bf49e4468c2290e30a98c6730a334900 (diff) | |
download | yota-laravel-2e588511a0dbb7f91c0f46015ccd65d1b280e251.tar.gz yota-laravel-2e588511a0dbb7f91c0f46015ccd65d1b280e251.zip |
Callsign editing fix...
-rw-r--r-- | resources/views/pages/editsign.blade.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/views/pages/editsign.blade.php b/resources/views/pages/editsign.blade.php index 0183441..cd2b39b 100644 --- a/resources/views/pages/editsign.blade.php +++ b/resources/views/pages/editsign.blade.php @@ -15,14 +15,14 @@ @csrf <div class="form-group"> <label for="Sign">Special Callsign:</label> - <input type="text" name="sign" value="{{ $data->sign }}" id="Sign" class="form-control"> + <input type="text" name="sign" value="{{ ols('sign') ?? $data->sign }}" id="Sign" class="form-control"> @error('sign') <div class="alert alert-danger mt-2">{{ $message }}</div> @enderror </div> <div class="form-group"> <label for="editor">Description:</label> - <textarea name="description" id="editor" class="form-control">{{ $data->description }}</textarea> + <textarea name="description" id="editor" class="form-control">{{ old('description') ?? $data->description }}</textarea> </div> <div class="form-group"> <input type="submit" name="submit" value="Edit callsign" class="btn btn-primary"> |