 {% extends 'base.html.twig' %}

{% block body %}



    {{ form_start(form,{'attr': {'class': 'container'}}) }}
    <!--Doodle-->
    <div class="center">
        <img src="{{ asset ('bundles/app/img/plant.svg') }}" width="100">
    </div>

    <h2 class="center">Charity creation</h2>
        {#{{ form_widget(form) }}#}
    <div class="input-field">
    {#{{ form_label(form.name, {'attr': {'class': 'white-text'} } ) }}#}
    {{ form_row(form.name, {'attr': {'class': 'white-text'} }) }}
    </div>
 <div class="input-field">
     {#{{ form_label(form.description, {'attr': {'class': 'white-text'} } ) }}#}
    {{ form_row(form.description, {'attr': {'class': 'white-text'} }) }}
     </div>
 <div class="input-field">
     {#{{ form_label(form.bankAcc, {'attr': {'class': 'white-text'} } ) }}#}
    {{ form_row(form.bankAcc, {'attr': {'class': 'white-text'} }) }}
     </div>
    <div class="center spacer">
        <button type="submit" class="waves-effect waves-light btn-large deep-purple-text" value="Create" ><i class="material-icons right">arrow_forward</i>CREATE CHARITY </button>
    </div>

    {{ form_end(form) }}





{% endblock %}


