mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-24 17:31:14 +00:00
Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@15813 e93f8b46-1217-0410-a6f0-8f06a7374b81
16 lines
542 B
Plaintext
16 lines
542 B
Plaintext
<h2><%= l :label_password_required %></h2>
|
|
<%= form_tag({}, method: :post, class: 'tabular', id: 'sudo-form') do %>
|
|
|
|
<%= hidden_field_tag '_method', request.request_method %>
|
|
<%= hash_to_hidden_fields @sudo_form.original_fields %>
|
|
|
|
<div class="box">
|
|
<p>
|
|
<label for="sudo_password"><%= l :field_password %><span class="required">*</span></label>
|
|
<%= password_field_tag :sudo_password, nil, size: 25 %>
|
|
</p>
|
|
</div>
|
|
<%= submit_tag l(:button_submit) %>
|
|
<% end %>
|
|
<%= javascript_tag "$('#sudo_password').focus();" %>
|