@extends('modal')
@section('content')
<div class="modal-dialog">
    <div class="modal-content">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
            <h5 class="modal-title">{{trans('application.edit_payment_method')}}</h5>
        </div>
        {!! Form::model($payment, ['route' => ['payment.update', $payment->uuid], 'method'=>'PATCH', 'class'=>"ajax-submit"]) !!}
        <div class="modal-body">
            <div class="form-group">
                {!! Form::label('name', trans('application.name')) !!}
                {!! Form::text('name', null, ['class' => "form-control input-sm", 'required']) !!}
            </div>

            <div class="form-group">
                {!! Form::label('selected', trans('application.default')) !!}
                <div class="input-group col-md-3">
                    {!! Form::select('selected', array('0'=>'No',  '1' => 'Yes'),  null, ['class' => "form-control input-sm", 'required']) !!}
                </div>
            </div>
        </div>
        <div class="modal-footer">
            {!! form_buttons() !!}
        </div>
        {!! Form::close() !!}
    </div>
</div>
@endsection