Skip to content
Permalink
3481a87158
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
40 lines (40 sloc) 1.52 KB
<!-- Modal Structure -->
<form id="edit-modal-<?php echo $user->id ?>" class="modal" action="create.php" method="post">
<div class="modal-content">
<h4 class="row">Edit account for <?php echo $user->username ?></h4>
<div class="row">
<div class="col s12">
<div class="row">
<input name="username" type="hidden" value="<?php echo $user->username ?>" />
<div class="input-field col s12 valign-wrapper">
<i class="material-icons prefix valign">lock</i>
<input id="password" name="password" type="password" class="validate" />
<label for="password">New password</label>
</div>
<div class="input-field col s12">
<h6> Access level: </h6>
<input
class="with-gap" name="access" type="radio"
id="access-edit1-<?php echo $user->id ?>" value="admin" checked="checked"
/>
<label for="access-edit1-<?php echo $user->id ?>">Admin</label> <br />
<input
class="with-gap" name="access" type="radio"
id="access-edit2-<?php echo $user->id ?>" value="user"
/>
<label for="access-edit2-<?php echo $user->id ?>">User</label>
</div>
</div>
</div>
</div>
</div>
<div class="modal-footer input-field">
<button
class="waves-effect waves-green btn-flat"
type="submit" name="action"
onclick="Materialize.toast('User updated', 4000)"
>
Change
</button>
</div>
</form>