Commit 64b38d5c authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

fixed html syntax

parent 7e17ef78
......@@ -145,10 +145,5 @@
#amount-custom:checked + label{
line-height: 21px;
}
#donate-button {
height: 45px;
}
}
\ No newline at end of file
......@@ -5,7 +5,7 @@
@section('navbarFocus.donate', 'class="dropdown active"')
@section('content')
<div id="donation">
<div id="donation">
<div class="section">
<h1>@lang('spende.headline.1')</h1>
<p>@lang('spende.headline.2', [
......@@ -14,18 +14,15 @@
])</p>
</div>
<div class="two-col">
@if (app('request')->input('method') == "paypal")
<form class="col-left" action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<div class="section">
<h3>{!! trans('spende.headline.5') !!}</h3>
<div id="payment-methods">
<a class="payment-label" href="?method=debit">{!! trans('spende.head.lastschrift') !!}</a>
<a class="payment-label" href="?method=bank-transfer">{!! trans('spende.ueberweisung') !!}</a>
<a class="payment-label payment-label-selected" href="?method=paypal">{!! trans('spende.paypal') !!}</a>
</div>
<p><br>{!! trans('spende.paypal.1') !!}</p>
<div class="center-wrapper">
@if (LaravelLocalization::getCurrentLocale() == "de")
......@@ -42,11 +39,9 @@
<img alt="" border="0" src="{{ action('Pictureproxy@get', ['url' => 'https://www.paypal.com/en_DE/i/scr/pixel.gif']) }}" width="1" height="1" />
@endif
</div>
</div>
</form>
@elseif ((app('request')->input('method') == "bank-transfer"))
<form class="col-left" method="post">
<div class="section">
<h3>{!! trans('spende.headline.5') !!}</h3>
<div id="payment-methods">
......@@ -68,7 +63,6 @@
<form class="col-left" method="post">
<div class="section">
<h3>{!! trans('spende.headline.5') !!}</h3>
<div id="payment-methods">
<a class="payment-label payment-label-selected" href="?method=debit"><nobr>{!! trans('spende.head.lastschrift') !!}</nobr></a>
<a class="payment-label" href="?method=bank-transfer"><nobr>{!! trans('spende.ueberweisung') !!}</nobr></a>
......@@ -90,7 +84,6 @@
<div class="custom-amount-container">
<input type="radio" name="amount" id="amount-custom" value="custom" required="required" @if(!empty($data) && $data["betrag"] === "custom")checked="checked"@endif><label for="amount-custom" class="amount-custom">{!! trans('spende.wunschbetrag') !!}</label> <input id="custom-amount" type="number" name="custom-amount" min="0" step=".01" placeholder="@lang('spende.wunschbetrag.placeholder')" value="">
</div>
<h3>{!! trans('spende.headline.4') !!}</h3>
<div id="frequency">
<input type="radio" class="frequency-radio" name="frequency" id="once" value="once" required="required" @if(empty($data) || $data["frequency"] === "once")checked="checked"@endif><label class="frequency-label" for="once"><nobr>{!! trans('spende.frequency.1') !!}</nobr></label>
......@@ -123,15 +116,14 @@
<p>{!! trans('spende.bankinfo.3')!!}</p>
<textarea class="form-control" id="msg" name="Nachricht" placeholder="{!! trans('spende.lastschrift.8.message.placeholder') !!}">@if(isset($data['nachricht'])){{$data['nachricht']}}@endif</textarea>
</div>
<input id="donate-button" type="submit" value="{!! trans('spende.submit') !!}">
<input class="btn btn-default" id="donate-button" type="submit" value="{!! trans('spende.submit') !!}">
</div>
@endif
</form>
@endif
<div class="col-right">
<div class="section">
<p>{!! trans('spende.lastschrift.10') !!}</p> </div>
<p>{!! trans('spende.lastschrift.10') !!}</p>
</div>
<div class="section">
<h3>{!! trans('spende.member.1') !!}</h3>
<p>{!! trans('spende.member.2') !!}</p>
......@@ -144,7 +136,6 @@
<a class="btn btn-default" href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/beitritt/") }}">{!! trans('spende.member.7') !!}</a>
</div>
</div>
</div>
</div>
@endsection
Supports Markdown
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