mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 04:12:45 +00:00 
			
		
		
		
	Change edit user form name
This commit is contained in:
		@@ -11,45 +11,45 @@
 | 
			
		||||
  <div class="card">
 | 
			
		||||
    <form method="POST">
 | 
			
		||||
      <div class="card-content">
 | 
			
		||||
        {{ form.hidden_tag() }}
 | 
			
		||||
        {{ edit_user_form.hidden_tag() }}
 | 
			
		||||
        <div class="input-field ">
 | 
			
		||||
          <i class="material-icons prefix">account_circle</i>
 | 
			
		||||
          {{ form.username() }}
 | 
			
		||||
          {{ form.username.label }}
 | 
			
		||||
          {% for error in form.username.errors %}
 | 
			
		||||
          {{ edit_user_form.username() }}
 | 
			
		||||
          {{ edit_user_form.username.label }}
 | 
			
		||||
          {% for error in edit_user_form.username.errors %}
 | 
			
		||||
          <span class="helper-text red-text">{{ error }}</span>
 | 
			
		||||
          {% endfor %}
 | 
			
		||||
        </div>
 | 
			
		||||
        <div class="input-field">
 | 
			
		||||
          <i class="material-icons prefix">mail</i>
 | 
			
		||||
          {{ form.email() }}
 | 
			
		||||
          {{ form.email.label }}
 | 
			
		||||
          {% for error in form.email.errors %}
 | 
			
		||||
          {{ edit_user_form.email() }}
 | 
			
		||||
          {{ edit_user_form.email.label }}
 | 
			
		||||
          {% for error in edit_user_form.email.errors %}
 | 
			
		||||
          <span class="helper-text red-text">{{ error }}</span>
 | 
			
		||||
          {% endfor %}
 | 
			
		||||
        </div>
 | 
			
		||||
        <div class="input-field">
 | 
			
		||||
          <i class="material-icons prefix">swap_vert</i>
 | 
			
		||||
          {{ form.role() }}
 | 
			
		||||
          {{ form.role.label }}
 | 
			
		||||
          {% for error in form.role.errors %}
 | 
			
		||||
          {{ edit_user_form.role() }}
 | 
			
		||||
          {{ edit_user_form.role.label }}
 | 
			
		||||
          {% for error in edit_user_form.role.errors %}
 | 
			
		||||
          <span class="helper-text red-text">{{ error }}</span>
 | 
			
		||||
          {% endfor %}
 | 
			
		||||
        </div>
 | 
			
		||||
        <div class="switch">
 | 
			
		||||
          <i class="material-icons prefix">check</i>
 | 
			
		||||
          <label class="active" for="{{form.confirmed.name}}">
 | 
			
		||||
          <label class="active" for="{{ edit_user_form.confirmed.name }}">
 | 
			
		||||
            Confirmed status:
 | 
			
		||||
            Off
 | 
			
		||||
            {% if form.confirmed.data == True %}
 | 
			
		||||
            <input type="checkbox" id="{{ form.confirmed.name }}" name="{{ form.confirmed.name }}" checked="checked">
 | 
			
		||||
            {% if edit_user_form.confirmed.data == True %}
 | 
			
		||||
            <input type="checkbox" id="{{ edit_user_form.confirmed.name }}" name="{{ edit_user_form.confirmed.name }}" checked="checked">
 | 
			
		||||
            {% else %}
 | 
			
		||||
            <input type="checkbox" id="{{ form.confirmed.name }}" name="{{ form.confirmed.name }}">
 | 
			
		||||
            <input type="checkbox" id="{{ edit_user_form.confirmed.name }}" name="{{ edit_user_form.confirmed.name }}">
 | 
			
		||||
            {% endif %}
 | 
			
		||||
            <span class="lever"></span>
 | 
			
		||||
            On
 | 
			
		||||
          </label>
 | 
			
		||||
          {% for error in form.confirmed.errors %}
 | 
			
		||||
          {% for error in edit_user_form.confirmed.errors %}
 | 
			
		||||
          <span class="helper-text red-text">{{ error }}</span>
 | 
			
		||||
          {% endfor %}
 | 
			
		||||
        </div>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user