@extends('payments.payment_method') @section('head') @parent @stop @section('payment_details') {!! Former::open($url) ->autocomplete('on') ->addClass('payment-form') ->id('payment-form') ->rules(array( 'iban' => 'required', 'authorize_sepa' => 'required', )) !!} @if (Utils::isNinjaDev()) {{ Former::populateField('iban', 'DE89370400440532013000') }} @endif {!! Former::text('iban') !!} {!! Former::checkbox('authorize_sepa') ->text(trans('texts.sepa_authorization', ['company'=>$account->getDisplayName(), 'email' => $account->work_email])) ->label(' ') ->value(1) !!}
{!! Button::normal(strtoupper(trans('texts.cancel')))->large()->asLinkTo($invitation->getLink()) !!}    {!! Button::success(strtoupper(trans('texts.add_account'))) ->submit() ->withAttributes(['id'=>'add_account_button']) ->large() !!}
{!! Former::close() !!} @stop