Commit a16482df authored by Davide Aprea's avatar Davide Aprea
Browse files

remove text change on submit

parent bd8f0eed
......@@ -10,7 +10,6 @@ return [
'form.7' => 'Betreff',
'form.8' => 'Senden',
'form.9' => 'Bis zu 5 Anhänge hinzufügen (Dateigröße < 5 MB)',
'form.10' => 'wird gesendet…',
'letter.1' => 'Per Brief-Post',
'letter.2' => 'Wir ziehen es vor, auf digitalem Wege kontaktiert zu werden.
......
......@@ -48,7 +48,6 @@ return [
'submit' => 'Spenden',
'submitted' => 'wird gesendet…',
'member.1' => 'Oder doch lieber Mitglied werden?',
'member.2' => 'Es kostet nicht mehr und bietet viele Vorteile:',
......
......@@ -13,7 +13,7 @@
<div class="alert alert-danger" role="alert">{{$errormessage}}</div>
@endforeach
@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('submit').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;">
{{ csrf_field() }}
<input type="hidden" name="pcsrf" value="{{ base64_encode(\time()) }}">
<div class="form-group kontakt-form-group">
......
......@@ -60,7 +60,7 @@
</p>
</div>
@else
<form method="post" class="form" onsubmit="document.getElementById('donate-button').disabled=true; document.getElementById('donate-button').value={!! trans('spende.submitted') !!};">
<form method="post" class="form" onsubmit="document.getElementById('donate-button').disabled=true;">
<div class="section">
<h3>{!! trans('spende.headline.5') !!}</h3>
<div id="payment-methods">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment