tpl.Loginza.profile
Last updated Mar 6th, 2021 | Page history | Improve this page | Report an issue
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$301 per month—let's make that $500!
Learn moreDescription¶
Chunk for display and edit user profile.
<form action="[[~[[*id]]]]" method="post" class="form-horizontal">
<div class="control-group[[+error.username:notempty=` error`]]">
<label class="control-label">???</label>
<div class="controls">
<input type="text" name="username" value="[[+username]]" />
<span class="help-inline">[[+error.username]]</span>
</div>
</div>
<div class="control-group[[+error.fullname:notempty=` error`]]">
<label class="control-label">?????? ???</label>
<div class="controls">
<input type="text" name="fullname" value="[[+fullname]]" />
<span class="help-inline">[[+error.fullname]]</span>
</div>
</div>
<div class="control-group[[+error.email:notempty=` error`]]">
<label class="control-label">Email</label>
<div class="controls">
<input type="text" name="email" value="[[+email]]" />
<span class="help-inline">[[+error.email]]</span>
</div>
</div>
<input type="hidden" name="action" value="updateProfile" />
<div class="form-actions">
<button type="submit" class="btn btn-primary">Update profile</button>
</div>
</form>
[[+success:is=`1`:then=`<div class="alert alert-block">Profile was successfully updated</div>`]]
[[+success:is=`0`:then=`<div class="alert alert-block alert-error">Error on profile update</div>`]]
Placeholders¶
Placeholders from modUser and modUserProfile.