Add myAccount view
This commit is contained in:
		
							
								
								
									
										21
									
								
								templates/registration/my_account.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								templates/registration/my_account.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
{% extends '_base.html' %}
 | 
			
		||||
 | 
			
		||||
{% load crispy_forms_tags %}
 | 
			
		||||
 | 
			
		||||
{% block title %}My account{% endblock %}
 | 
			
		||||
 | 
			
		||||
{% block breadcrumb %}
 | 
			
		||||
  <li class="breadcrumb-item active">My account</li>
 | 
			
		||||
{% endblock %}
 | 
			
		||||
 | 
			
		||||
{% block content %}
 | 
			
		||||
  <div class="row">
 | 
			
		||||
    <div class="col-lg-6 col-md-8 col-sm-10">
 | 
			
		||||
      <form method="post" novalidate>
 | 
			
		||||
        {% csrf_token %}
 | 
			
		||||
        {{ form|crispy }}
 | 
			
		||||
        <button type="submit" class="btn btn-success">Save changes</button>
 | 
			
		||||
      </form>
 | 
			
		||||
    </div>
 | 
			
		||||
  </div>
 | 
			
		||||
{% endblock %}
 | 
			
		||||
		Reference in New Issue
	
	Block a user