{% trans_default_domain 'FOSUserBundle' %}

    <div class="page animsition">
    <div class="page-header">
      <ol class="breadcrumb">
          <li class="active">{{ 'Change Password' | trans}}</li>
      </ol>
    </div>
          
          
    <div class="page-content">      
      <div class="panel">

        <div class="panel-body">
            
            <form action="{{ path('fos_user_change_password') }}" {{ form_enctype(form) }} method="POST" class="fos_user_change_password  form-horizontal">
                

                <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) }}
                  </div>
                </div>

                <div class="form-group">
                  <label class="col-sm-3 control-label"> </label>
                  <div class="col-sm-9">
                    {{ form_widget(form.plainPassword) }}
                    {{ form_errors(form.plainPassword) }}
                  </div>
                </div>
				
                <div>
                    {{ form_rest(form) }}   
                     <button type="submit" class="btn btn-primary">{{'Update' | trans}}</button>
                </div>
					
            </form>

        </div>
      </div>
    </div>
</div>
                