Skip to content
Snippets Groups Projects
Commit bd8f0eed authored by Davide Aprea's avatar Davide Aprea
Browse files

minor bug fix

parent f566c8e9
No related branches found
No related tags found
3 merge requests!1895Development,!1841Development,!1839Resolve "Stop contact and donation form from being sent multiple times"
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<div class="alert alert-danger" role="alert">{{$errormessage}}</div> <div class="alert alert-danger" role="alert">{{$errormessage}}</div>
@endforeach @endforeach
@endif @endif
<form class="contact" name="contact" method="post" action="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/kontakt") }}" enctype="multipart/form-data" onsubmit="document.getElementById('submit').disabled=true; document.getElementById('donate-button').value={!! trans('kontakt.form.10') !!};"> <form class="contact" name="contact" method="post" action="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/kontakt") }}" enctype="multipart/form-data" onsubmit="document.getElementById('submit').disabled=true; document.getElementById('submit').value={!! trans('kontakt.form.10') !!};">
{{ csrf_field() }} {{ csrf_field() }}
<input type="hidden" name="pcsrf" value="{{ base64_encode(\time()) }}"> <input type="hidden" name="pcsrf" value="{{ base64_encode(\time()) }}">
<div class="form-group kontakt-form-group"> <div class="form-group kontakt-form-group">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment