-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Making websites with October CMS - Part 24 - Extending User Plugin - …
…Frontend
- Loading branch information
Ivan Doric
committed
Nov 26, 2016
1 parent
669474f
commit 42d478f
Showing
4 changed files
with
54 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{{ form_ajax('onUpdate', { model: user }) }} | ||
|
||
<div class="form-group"> | ||
<label for="accountName">Full Name</label> | ||
<input name="name" type="text" class="form-control" id="accountName" value="{{ form_value('name') }}"> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<label for="accountEmail">Email</label> | ||
<input name="email" type="email" class="form-control" id="accountEmail" value="{{ form_value('email') }}"> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<label for="accountPassword">New Password</label> | ||
<input name="password" type="password" class="form-control" id="accountPassword"> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<label for="accountPasswordConfirm">Confirm New Password</label> | ||
<input name="password_confirmation" type="password" class="form-control" id="accountPasswordConfirm"> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<label>Facebook</label> | ||
<input name="facebook" type="text" class="form-control" value="{{ form_value('facebook') }}"> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<label>Bio</label> | ||
<textarea name="bio" type="text" class="form-control">{{ form_value('bio') }}</textarea> | ||
</div> | ||
|
||
<button type="submit" class="btn btn-default">Save</button> | ||
|
||
{{ form_close() }} |