

<div id="user_edit" ">


    <form id ="clientform" action="{{ path('DorcasTabithaBundle_profile_update' ) }}" method="post" {{ form_enctype(form) }} class="dorcas">

        <h4>Edit User Profile</h4>
        <h6> Note: If a password is not entered, it will not be changed.</h6>

        <div style="width:11%; float:left;">
                {{ form_label(form.username) }}
				{{ form_errors(form.username) }}
				{{ form_widget(form.username, { 'attr': {'size': '12'} }) }}
    </div>
	<div style="width:14%; float:left;">
                {{ form_label(form.password.first) }}
                {{ form_errors(form.password.first) }}
                {{ form_widget(form.password.first, { 'attr': {'size': '16'} }) }}
	</div>
	<div style="width:14%; float:left;">
                {{ form_label(form.password.second, 'Confirm Password:') }}
                {{ form_errors(form.password.second) }}
                {{ form_widget(form.password.second, { 'attr': {'size': '16'} }) }}
	</div>
	
	<div style="width:23%; float:left;">
            {{ form_label(form.first_name) }}
            {{ form_errors(form.first_name) }}
            {{ form_widget(form.first_name, { 'attr': {'size': '30'} }) }}
        </div>
        <div style="width:22%; float:left; ">
            {{ form_label(form.last_name) }}
            {{ form_errors(form.last_name) }}
            {{ form_widget(form.last_name, { 'attr': {'size': '30'} }) }}
        </div>
	
	<br>&nbsp;</br><br>&nbsp;</br>
	<div style="width:35%; float:left;">
                {{ form_label(form.address) }}
                {{ form_errors(form.address) }}
                {{ form_widget(form.address, { 'attr': {'size': '50'} }) }} 
    </div>
	<div style="width:12%; float:left;">
                {{ form_label(form.phone) }}
                {{ form_errors(form.phone) }}
                {{ form_widget(form.phone, { 'attr': {'size': '14', 'class': 'phonex'} }) }}
    </div>
    <div style="width:17%; float:left;">
                {{ form_label(form.email) }}
                {{ form_errors(form.email) }}
                {{ form_widget(form.email, { 'attr': {'size': '25'} }) }}
    </div>
	<br>
        <div style="width:5%; float:left; display:none">
                    {{ form_label(form.isAdmin) }}
                    {{ form_errors(form.isAdmin) }}
                    {{ form_widget(form.isAdmin, { 'attr': {'size': '2'} }) }}
        </div>
        <div style="width:5%; float:left; padding-right: 18px; display:none">
                    {{ form_label(form.isActive) }}
                    {{ form_errors(form.isActive) }}
                    {{ form_widget(form.isActive, { 'attr': {'size': '2'} }) }}
        </div>
		
		<br>&nbsp;<br>
            <div style=" padding-top: 18px; float:right;">
        <input type="button" value="Save" onclick="save(false)" >
        </div>  
		<br>
        <br>&nbsp;<br>

        {{ form_rest(form) }}

    </form>
</div>

 
