{embed="global/.html_header" page_title="My profile"}
{embed="global/.header"} {exp:ifelse parse="inward"}
{if logged_out} {embed="u_inc/.login"} {if:else}
{if segment_3 == "success"}
You've successfully updated your details!
{/if}
Fill in or edit the fields below to update your profile:

{exp:user:edit return="{segment_1}/{segment_2}/success" error_page="u_inc/error" } {if group_id == 7} {/if}

In order to update this page, you'll have to submit your current password:

{/exp:user:edit}
{/if}
{/exp:ifelse} {embed="global/.footer"}
{embed="global/.html_footer"}