v0.6.2c
This commit is contained in:
parent
7e985aef49
commit
37b53a5480
|
@ -18,7 +18,7 @@
|
||||||
<script src="https://cdn.ckeditor.com/ckeditor5/21.0.0/classic/ckeditor.js"></script>
|
<script src="https://cdn.ckeditor.com/ckeditor5/21.0.0/classic/ckeditor.js"></script>
|
||||||
|
|
||||||
<h1>Opret Kontakt:</h1>
|
<h1>Opret Kontakt:</h1>
|
||||||
<form method="post" action="{{ route("contacts.store") }}">
|
<form name="contact" method="post" action="{{ route("contacts.store") }}">
|
||||||
@csrf
|
@csrf
|
||||||
<label for="contactname">Kontakt Navn:</label>
|
<label for="contactname">Kontakt Navn:</label>
|
||||||
<input type="text" name="contactname" id="contactname" placeholder="Navn" required>
|
<input type="text" name="contactname" id="contactname" placeholder="Navn" required>
|
||||||
|
@ -51,3 +51,15 @@
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
@endsection
|
@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