anchor.diff: -  <% jammit_css :user_logins %>
  -  <% js_bundle :user_logins %>
  -  <% js_env :PASSWORD_POLICY => @domain_root_account.try(:password_policy) %>
  -  <fieldset id="login_information">
  -    <legend><%= t('titles.logins', 'Login Information') %></legend>
  -    <table>
  -      <% pseudonyms = @user.all_active_pseudonyms + [nil] %>
  -      <% pseudonyms.each do |pseudonym| %>
  +<% jammit_css :user_logins %>
  +<% js_bundle :user_logins %>
  +<% js_env :PASSWORD_POLICY => @domain_root_account.try(:password_policy) %>
  +<fieldset id="login_information">
  +  <legend><%= t('titles.logins', 'Login Information') %></legend>
  +  <table>
  +    <% pseudonyms = @user.all_active_pseudonyms + [nil] %>
  +    <% pseudonyms.each do |pseudonym| %>
           <% can_change_pseudonym_password = (pseudonym && pseudonym.account && pseudonym.account.settings && pseudonym.account.settings[:admins_can_change_passwords]) && pseudonym.account.canvas_authentication? %>
           <tr class='login <%= 'blank' unless pseudonym %>' style="<%= hidden unless pseudonym %>">
             <th scope='row'>
               <b class='unique_id'><%= pseudonym && pseudonym.unique_id %></b>
               <% if pseudonym && ((pseudonym.sis_user_id && can_do(pseudonym.account, @current_user, :read_sis)) || can_do(pseudonym.account, @current_user, :manage_sis)) %>
  -              <div style="font-size: 0.8em; padding-left: 20px;">
  -                <%= before_label('sis_id', 'SIS ID') %> <span id="sis_user_id_<%= pseudonym.id %>" class="sis_user_id"><%= pseudonym.sis_user_id %></span> 
  -              </div>
  -              <div style="display:none" class="can_edit_sis_user_id"><%= can_do(pseudonym.account, @current_user, :manage_sis) %></div>
  +                <div style="font-size: 0.8em; padding-left: 20px;">
  +                  <%= before_label('sis_id', 'SIS ID') %>
  +                  <span id="sis_user_id_<%= pseudonym.id %>" class="sis_user_id"><%= pseudonym.sis_user_id %></span>
  +                </div>
  +                <div style="display:none" class="can_edit_sis_user_id"><%= can_do(pseudonym.account, @current_user, :manage_sis) %></div>
               <% end %>
             </th>
             <td class='account'>
  
positive.code:         <td><%= f.text_field :sis_user_id, :style => "width: 150px;" %></td>
        </tr>
        <% if can_do(Account.site_admin, @current_user, :manage_user_logins) %>
          <% js_env :PASSWORD_POLICIES => Hash[Account.root_accounts.active.map{ |a| [a.id, a.password_policy]}] %>
          <tr class="account_id">
              <td><%= f.blabel :account_id, :en => "Account" %></td>
              <td>
                <% accounts = Account.root_accounts.active.map{|a| [a.name, a.id] }.sort_by(&:first) %>
                <%= f.select :account_id, accounts, {:selected => @domain_root_account.id}, :class => "account_id_select" %>
              </td>
          </tr>
        <% else %>
          <tr style="display: none;">
            <td class="default_account_name"><%= @domain_root_account.name %></td>
          </tr>
        <% end %>
        <tr class="password">
          <td><%= f.blabel :password, :en => "Password" %></td>
          <td><%= f.password_field :password, :style => "width: 150px;" %></td>
        </tr>
        <tr class="password">
          <td>&nbsp;</td>
          <td><%= f.password_field :password_confirmation, :style => "width: 150px;" %></td>
        </tr>
        <tr>
          <td colspan="2">
            <div class="button-container">
  
negative.code:               </tr>
              </table>
              <% if pseudonyms.length > 1 || !pseudonym %>
                  <a href="#" class="login_details_link"><%= t('more', 'more...') %></a>
              <% end %>
            </td>
            <% if !pseudonym || can_do(pseudonym.account, @current_user, :manage_user_logins) %>
                <td class='links <%= 'passwordable' if can_change_pseudonym_password %>'>
                  <a href="#" rel="<%= user_pseudonym_url(@user.id, pseudonym ? pseudonym.id : "{{ id }}") %>" class="edit_pseudonym_link"><i class="icon-edit standalone-icon"></i></a>
                  <a href="#" rel="<%= user_pseudonym_url(@user.id, pseudonym ? pseudonym.id : "{{ id }}") %>" class="delete_pseudonym_link" style="<%= hidden if pseudonyms.length <= 2 || (pseudonym && pseudonym.sis_user_id && !can_do(pseudonym.account, @current_user, :manage_sis)) %>"><i class="icon-end standalone-icon"></i></a>
                </td>
            <% else %>
                <td>&nbsp;</td>
            <% end %>
          </tr>
      <% end %>
      <% if can_do(@user, @current_user, :manage_logins) && can_do(@domain_root_account, @current_user, :manage_user_logins) %>
          <tr class="add_holder">
            <td colspan="4" style="font-size: 0.8em;">
              <a href="#" rel="<%= user_pseudonyms_url(@user.id) %>" class="add_pseudonym_link"><%= t('add_login', 'Add Login') %></a>
              <% if @user.otp_secret_key && (@user.mfa_settings != :required || @user != @current_user) %>
                <span>|
                  <a href="<%= disable_mfa_path(@user) %>" class="reset_mfa_link"><%= t('reset_mfa', "Reset Multi-Factor Authentication") %></a>
                </span>
              <% end %>
            </td>
          </tr>
      <% end %>
    </table>
  </fieldset>
  <% form_for :pseudonym, :url => user_pseudonyms_url(@user.id), :html => {:id => 'edit_pseudonym_form', :style => 'display: none;'} do |f| %>
      <table class="formtable" style="margin-top: 20px;">
        <tr>
          <td><%= f.blabel :unique_id, :en => "Login" %></td>
  