v1.5.22 - Updated Push News

Added old() to different create & Edit pages
Added the removal
This commit is contained in:
Anders
2021-05-10 11:18:05 +02:00
parent 322dbaf31e
commit 4e8e2831da
21 changed files with 103 additions and 65 deletions
@@ -21,15 +21,15 @@
<form name="contact" method="post" action="{{ route("contacts.store") }}">
@csrf
<label for="contactname">Kontakt Navn:</label>
<input type="text" name="contactname" id="contactname" placeholder="Navn" maxlength="255" required>
<input type="text" name="contactname" id="contactname" placeholder="Navn" value="{{ old('contactname') }}" maxlength="255" required>
<label for="title">Titel:</label>
<input type="text" name="title" id="title" placeholder="Titel" maxlength="255" required>
<input type="text" name="title" id="title" placeholder="Titel" value="{{ old('title') }}" maxlength="255" required>
<label for="email">Email:</label>
<input type="email" name="email" id="email" placeholder="x@y.z" maxlength="255" required>
<input type="email" name="email" id="email" placeholder="x@y.z" value="{{ old('email') }}" maxlength="255" required>
<label for="tel">Telefon nr:</label>
<input type="tel" name="phone" id="tel" placeholder="12345678" maxlength="8" pattern="[0-9]{2}[0-9]{2}[0-9]{2}[0-9]{2}">
<input type="tel" name="phone" id="tel" placeholder="12345678" maxlength="8" value="{{ old('phone') }}" pattern="[0-9]{2}[0-9]{2}[0-9]{2}[0-9]{2}">
<label for="teltimes">Telefon tider: (Forblives blank, hvis der ikke er nogen bestemte tider) - Brug Shift+Enter for at teksten vises lige neden under hinanden hjemmesiden</label>
<textarea name="phonetimes" id="editor"></textarea>
<textarea name="phonetimes" id="editor">{!! old('phonetimes') !!}</textarea>
<input type="submit" class="btn btn-dark text-white" value="Opret">
</form>