{% trans_default_domain 'FOSUserBundle' %}


{% block body -%}

  <div class="page animsition">
    <div class="page-header">
      <ol class="breadcrumb">
        <li class="active">{{ 'Profile' | trans}}</li>
      </ol>
    </div>
    <div class="page-content container-fluid">
    
        
        <div class="panel">
        <div class="panel-body container-fluid">          
          <div class="row row-lg">
          	
          	<div class="panel-heading">
              <h3 class="panel-title">{{ 'Profile'| trans }}</h3>
            </div>
          	

          <div class="col-sm-6">

            <form action="{{ path('fos_user_profile_edit') }}" {{ form_enctype(form) }} method="POST" class="fos_user_profile_edit form-horizontal">

                
                <div class="form-group">
                  <label class="col-sm-3 control-label">{{ form_label(form.username ) }} </label>
                  <div class="col-sm-9">
                    {{ form_widget(form.username) }}
                    {{ form_errors(form.username) }}
                  </div>
                </div>
                <div class="form-group">
                  <label class="col-sm-3 control-label">{{ form_label(form.email ) }} </label>
                  <div class="col-sm-9">
                    {{ form_widget(form.email) }}
                    {{ form_errors(form.email) }}
                  </div>
                </div>
                <div class="form-group">
                  <label class="col-sm-3 control-label">{{ form_label(form.current_password ) }} </label>
                  <div class="col-sm-9">
                    {{ form_widget(form.current_password) }}
                    {{ form_errors(form.current_password) }}
                          
                    <a href="{{ path('fos_user_change_password') }}">{{ 'Change Password' | trans }}</a>
                    
                  </div>
                </div>
                
                <div>
                    {{ form_rest(form) }}   
                     <button type="submit" class="btn btn-primary">{{'Update' | trans}}</button>
                </div>
            </form>
              
          </div>
          </div>
            </div>
            </div>
    </div>
    </div>



{% endblock %}
