Edit template for controller - Refine params copy and bring DB opens up to spec with UTF8
This commit is contained in:
57
output/Useraccounts/AdminLTE/_usr_lock.html.new.ep
Normal file
57
output/Useraccounts/AdminLTE/_usr_lock.html.new.ep
Normal file
@@ -0,0 +1,57 @@
|
||||
<div>
|
||||
|
||||
% my $btn = l("Lock");
|
||||
|
||||
<form action="/smanager/useraccountsd" method="POST">
|
||||
|
||||
%#= form_for "/useraccountsd" => (method => "POST") => begin
|
||||
|
||||
<div>
|
||||
<h2><%= l "Lock_ACCOUNT_TITLE" %></h2>
|
||||
</div>
|
||||
<br>
|
||||
<div>
|
||||
Needs a text change in the Lex files
|
||||
<br>
|
||||
<%= $c->l("Lock_DESC", $usr_datas->{user}, $usr_datas->{name} ) %>
|
||||
</div>
|
||||
|
||||
<br><br>
|
||||
|
||||
<table class="table table-bordered user-table-max-wdith">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="col-sm">
|
||||
%=l "ACCOUNT"
|
||||
</th>
|
||||
<th class="col-sm">
|
||||
%=l "USER_NAME"
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><%= $usr_datas->{user} %></td>
|
||||
<td><%= $usr_datas->{name} %></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
%= $c->render_to_string(inline => $c->l("Lock_DESC2"))
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
%= hidden_field "trt" => $usr_datas->{trt}
|
||||
%= hidden_field "user" => $usr_datas->{user}
|
||||
%= hidden_field "name" => $usr_datas->{name}
|
||||
|
||||
</form>
|
||||
%# end
|
||||
|
||||
</div>
|
Reference in New Issue
Block a user