signup.html
    
    ASCII text
        
            1
            {% extends "default.html" %} 
        
            2
            {% block title %}Sign Up | Echo Tracker{% endblock %} 
        
            3
            {% set active = "signup" %} 
        
            4
            {% block content %} 
        
            5
                <main> 
        
            6
                    <h1>Sign Up</h1> 
        
            7
                    <h2 class="subtitle">Become a developer</h2> 
        
            8
                    {% with messages = get_flashed_messages() %} 
        
            9
                        {% if messages %} 
        
            10
                            {% for message in messages %} 
        
            11
                                <div class="alert">{{ message }}</div> 
        
            12
                            {% endfor %} 
        
            13
                        {% endif %} 
        
            14
                    {% endwith %} 
        
            15
                    <form class="stacked-form" method="post"> 
        
            16
                        <input type="text" name="username" placeholder="Username"> 
        
            17
                        <input type="password" name="password" placeholder="Password"> 
        
            18
                        <input type="password" name="password2" placeholder="Password (again)"> 
        
            19
                        <button type="submit">Sign Up</button> 
        
            20
                    </form> 
        
            21
                </main> 
        
            22
            {% endblock %}