Blame progit/templates/user_settings.html

Pierre-Yves Chibon 68537a
{% extends "master.html" %}
Pierre-Yves Chibon 68537a
{% from "_formhelper.html" import render_field_in_cell %}
Pierre-Yves Chibon 68537a
Johan Cwiklinski 4327dd
{% block title %}{{ user.user }}'s settings{% endblock %}
Pierre-Yves Chibon 68537a
{%block tag %}users{% endblock %}
Pierre-Yves Chibon 68537a
Pierre-Yves Chibon 68537a
Pierre-Yves Chibon 68537a
{% block content %}
Pierre-Yves Chibon 68537a
<section class="user_settings"></section>
Johan Cwiklinski 4327dd
    <header></header>
Johan Cwiklinski 4327dd
        

{{ user.user }}'s settings

Johan Cwiklinski 4327dd
    
Pierre-Yves Chibon 68537a
  <form action="{{ url_for('user_settings') }}" method="post"></form>
Pierre-Yves Chibon 68537a
    
Pierre-Yves Chibon 68537a
      
Pierre-Yves Chibon 68537a
        Full name
Pierre-Yves Chibon 68537a
         {{ user.fullname }} 
Pierre-Yves Chibon 68537a
      
Pierre-Yves Chibon 68537a
      
Pierre-Yves Chibon 68537a
        Emails
Pierre-Yves Chibon 68537a
        {% for email in user.emails %}
Pierre-Yves Chibon 68537a
        {% if loop.first %}
Pierre-Yves Chibon 68537a
           {{ email.email }} 
Pierre-Yves Chibon 286faf
        {% elif loop.last %}
Pierre-Yves Chibon 286faf
      
Pierre-Yves Chibon 286faf
      
Pierre-Yves Chibon 286faf
          {{ email.email }}
Pierre-Yves Chibon 68537a
        {% else %}
Pierre-Yves Chibon 286faf
      
Pierre-Yves Chibon 286faf
      
Pierre-Yves Chibon 68537a
            {{ email.email }}
Pierre-Yves Chibon 68537a
        {% endif %}
Pierre-Yves Chibon 68537a
        {% endfor %}
Pierre-Yves Chibon 286faf
      
Pierre-Yves Chibon 286faf
      
Pierre-Yves Chibon 68537a
        {{ render_field_in_cell(form.ssh_key) }}
Pierre-Yves Chibon 68537a
      
Pierre-Yves Chibon 68537a
    
Pierre-Yves Chibon 68537a
    

Pierre-Yves Chibon 68537a
      <input class="submit positive button" type="submit" value="Update">
Pierre-Yves Chibon 68537a
      <input class="button" onclick="history.back();" type="button" value="Cancel">
Pierre-Yves Chibon 68537a
      {{ form.csrf_token }}
Pierre-Yves Chibon 286faf

Pierre-Yves Chibon 68537a
  
Johan Cwiklinski 4327dd
    <aside></aside>
Johan Cwiklinski 4327dd
        
Johan Cwiklinski 4327dd
            Public profile page
Johan Cwiklinski 4327dd
        
Johan Cwiklinski 4327dd
    
Pierre-Yves Chibon 68537a
Pierre-Yves Chibon 2156d2
Pierre-Yves Chibon 68537a
{% endblock %}