Extract partial two factor authentication partial for better display

pull/3451/head
Alexander Bach 9 years ago committed by Peter Lehwess
parent 04b6445eaa
commit 8575d649e9
  1. 2
      app/views/users/_form.html.erb

@ -45,7 +45,7 @@ See doc/COPYRIGHT.rdoc for more details.
locals: { form: f } %>
<div class="form--field"><%= f.check_box :admin, :disabled => (@user == User.current) %></div>
<%= call_hook(:view_users_form, :user => @user, :form => f) %>
<%= call_hook(:view_users_form, user: @user, form: f, render_heading: true) %>
</section>
<section class="form--section">

Loading…
Cancel
Save