Files
Redmine/app/views/sudo_mode/_new_modal.html.erb
Go MAEDA 05289f6002 Replace cancel button with cancel link in modals (#28662).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17677 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-02 06:24:21 +00:00

19 lines
634 B
Plaintext

<h3 class="title"><%= l(:label_password_required) %></h3>
<%= form_tag({}, remote: true) do %>
<%= hidden_field_tag '_method', request.request_method %>
<%= hash_to_hidden_fields @sudo_form.original_fields %>
<%= render_flash_messages %>
<div class="box tabular">
<p>
<label for="sudo_password"><%= l :field_password %><span class="required">*</span></label>
<%= password_field_tag :sudo_password, nil, size: 25 %>
</p>
</div>
<p class="buttons">
<%= submit_tag l(:button_submit), onclick: "hideModal(this);" %>
<%= link_to_function l(:button_cancel), "hideModal(this);" %>
</p>
<% end %>