{% extends "AppBundle::layout.html.twig" %}
{% block body%}
<div class="container-fluid">
    <div class="row">
        <div class="col-md-3">
            <div class="card">
                    <div class="tab-moivie tab-channel">
                        <a href="{{path("app_home_settings")}}" class="btn btn-tab-movie col-md-12"><i class="material-icons">phonelink_setup</i> Mobile Settings</a>
                        <a href="{{path("app_home_ads")}}" class="btn btn-tab-movie col-md-12"><i class="material-icons">show_chart</i> Mobile Ads Settings</a>
                        <a href="{{path("app_home_payment")}}" class="btn btn-tab-movie-active col-md-12"><i class="material-icons">payment</i> Mobile Payment Settings</a>
                        <a href="{{path("app_home_edit_privacypolicy")}}" class="btn btn-tab-movie col-md-12"><i class="material-icons">privacy_tip</i> Privacy Policy</a>
                        <a href="{{path("app_home_refundpolicy")}}" class="btn btn-tab-movie col-md-12"><i class="material-icons">attach_money</i> Refund Policy</a>
                        <a href="{{path("app_home_faq")}}" class="btn btn-tab-movie col-md-12"><i class="material-icons">live_help</i> FAQ Page</a>
                        <a href="{{path("admin_change_password")}}" class="btn btn-tab-movie col-md-12"><i class="material-icons">lock</i> Change password</a>
                    </div>
            </div>
        </div>
       <div class="col-md-9">
            <div class="card">
                <div class="card-header card-header-icon" data-background-color="rose">
                    <i class="material-icons">payment</i>
                </div>
                <div class="card-content">
                    <h4 class="card-title">Payment Settings</h4>
                    <br>
                    {{form_start(form)}}
                        <div class="panel-body">
                            <label class="panel-title">Global Settings</label>
                            <div class="form-group label-floating is-empty">
                                <label class="control-label">Currency Code </label>
                                {{form_widget(form.currency,{"attr":{"class":"form-control"}})}}
                            </div>
                        </div>
                        <div class="panel-body">
                            <label class="panel-title">PayPal Settings</label>
                            <div class="form-group label-floating is-empty">
                                <label class="control-label">PayPal Payment </label>
                                {{form_widget(form.paypal,{"attr":{"class":"form-control"}})}}
                            </div>
                            <div class="form-group label-floating is-empty">
                                <label class="control-label">PayPal account seller </label>
                                {{form_widget(form.paypalaccount,{"attr":{"class":"form-control"}})}}
                            </div>
                            <div class="form-group label-floating is-empty">
                                <label class="control-label">PayPal sandbox</label>
                                {{form_widget(form.paypalsandbox,{"attr":{"class":"form-control"}})}}
                            </div>
                            <div class="form-group label-floating is-empty">
                                <label class="control-label">PayPal Client id</label>
                                {{form_widget(form.paypalclientid,{"attr":{"class":"form-control"}})}}
                            </div>
                            <div class="form-group label-floating is-empty">
                                <label class="control-label">PayPal Client secret</label>
                                {{form_widget(form.paypalclientsecret,{"attr":{"class":"form-control"}})}}
                            </div>
                        </div>
                        <div class="panel-body">
                            <label class="panel-title">Google Play</label>
                            <div class="form-group label-floating is-empty">
                                <label class="control-label">Payment Settings</label>
                                {{form_widget(form.gpay,{"attr":{"class":"form-control"}})}}
                            </div>
                        </div>
                        <div class="panel-body">
                            <label class="panel-title">Stripe Settings</label>
                            <div class="form-group label-floating is-empty">
                                <label class="control-label">Stripe Payment </label>
                                {{form_widget(form.stripe,{"attr":{"class":"form-control"}})}}
                            </div>
                            <div class="form-group label-floating is-empty">
                                <label class="control-label">Stripe Api Key</label>
                                {{form_widget(form.stripeapikey,{"attr":{"class":"form-control"}})}}
                            </div>
                            <div class="form-group label-floating is-empty">
                                <label class="control-label">Stripe Public Key</label>
                                {{form_widget(form.stripepublickey,{"attr":{"class":"form-control"}})}}
                            </div>
                        </div>
                        <div class="panel-body">
                            <label class="panel-title">Cash Payment Settings</label>
                            <div class="form-group label-floating is-empty">
                                <label class="control-label">Cash Payment</label>
                                {{form_widget(form.manual,{"attr":{"class":"form-control"}})}}
                            </div>
                            <div class="form-group label-floating is-empty">
                                <label class="control-label">Cash Account Infos</label>
                                {{form_widget(form.cashaccount,{"attr":{"class":"form-control"}})}}
                            </div>
                        </div>
                        <span class="pull-right"><a href="{{path("app_category_index")}}" class="btn btn-fill btn-yellow"><i class="material-icons">arrow_back</i> Cancel</a>{{form_widget(form.save,{attr:{"class":"btn btn-fill btn-rose"}})}}</span>

                    {{form_end(form)}}
                </div>
            </div>
        </div>
    </div>
</div>
{% endblock%}