v0.6.2c
This commit is contained in:
parent
7e985aef49
commit
37b53a5480
skolehjem/resources/views/admin/contacts
|
@ -18,7 +18,7 @@
|
|||
<script src="https://cdn.ckeditor.com/ckeditor5/21.0.0/classic/ckeditor.js"></script>
|
||||
|
||||
<h1>Opret Kontakt:</h1>
|
||||
<form method="post" action="{{ route("contacts.store") }}">
|
||||
<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" required>
|
||||
|
@ -51,3 +51,15 @@
|
|||
|
||||
</script>
|
||||
@endsection
|
||||
@section("scripts")
|
||||
<script>
|
||||
$(function() {
|
||||
$('contact').areYouSure(
|
||||
{
|
||||
message: 'It looks like you have been editing something. '
|
||||
+ 'If you leave before saving, your changes will be lost.'
|
||||
}
|
||||
);
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
|
|
Loading…
Reference in New Issue