Disabled some entries and attempted autocomplete removal
This commit is contained in:
parent
7c25ecccfd
commit
b5feae5f06
1 changed files with 6 additions and 5 deletions
|
@ -11,25 +11,26 @@
|
||||||
<strong>Success!</strong> <%= $success %>
|
<strong>Success!</strong> <%= $success %>
|
||||||
</div>
|
</div>
|
||||||
% }
|
% }
|
||||||
<form action="<%= url_for . '/edit' %>" method="post">
|
<form action="<%= url_for . '/edit' %>" method="post" autocomplete="off">
|
||||||
<h3 class="card-header">
|
<h3 class="card-header">
|
||||||
User Details
|
User Details
|
||||||
</h3>
|
</h3>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="email">Email Address</label>
|
<label for="email">Email Address</label>
|
||||||
<input id="email" type="text" class="form-control" placeholder="Email" name="email" value="<%= $user->email %>">
|
<input id="email" type="text" autocomplete="off" class="form-control" placeholder="Email" name="email" value="<%= $user->email %>">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="joindate">Join Date</label>
|
<label for="joindate">Join Date</label>
|
||||||
<input id="joindate" type="datetime" class="form-control" placeholder="Date" name="joindate" value="<%= $user->join_date %>">
|
<input id="joindate" type="datetime" class="form-control" placeholder="Date" name="joindate" value="<%= $user->join_date %>" disabled>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="type">Account Type</label>
|
<label for="type">Account Type</label>
|
||||||
<input id="type" type="text" class="form-control" value="<%= defined $user->customer_id ? 'Customer' : 'Organisation' %>">
|
<input id="type" type="text" class="form-control" value="<%= defined $user->customer_id ? 'Customer' : 'Organisation' %>" disabled>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="new_password">New Password</label>
|
<label for="new_password">New Password</label>
|
||||||
<input id="new_password" type="text" class="form-control" placeholder="New Password" name="new_password">
|
<input id="new_password" type="password" autocomplete="off" class="form-control" placeholder="New Password" name="new_password">
|
||||||
|
<p class="help-block">Leave blank unless you want to change their password</p>
|
||||||
</div>
|
</div>
|
||||||
% if ( my $customer_rs = $user->customer ) {
|
% if ( my $customer_rs = $user->customer ) {
|
||||||
<h3 class="card-header">
|
<h3 class="card-header">
|
||||||
|
|
Reference in a new issue