mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 05:05:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			32 lines
		
	
	
		
			956 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			956 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| {% extends "account/base.html" %}
 | |
| 
 | |
| {% load i18n %}
 | |
| {% load account %}
 | |
| 
 | |
| {% block head_title %}{% trans "Confirm Email Address" %}{% endblock %}
 | |
| 
 | |
| 
 | |
| {% block content %}
 | |
| <h1>{% trans "Confirm Email Address" %}</h1>
 | |
| 
 | |
| {% if confirmation %}
 | |
| 
 | |
| {% user_display confirmation.email_address.user as user_display %}
 | |
| 
 | |
| <p>{% blocktrans with confirmation.email_address.email as email %}Please confirm that <a href="mailto:{{ email }}">{{ email }}</a> is an email address for user {{ user_display }}.{% endblocktrans %}</p>
 | |
| 
 | |
| <form method="post" action="{% url 'account_confirm_email' confirmation.key %}">
 | |
| {% csrf_token %}
 | |
|     <button type="submit" class="btn btn-primary btn-block">{% trans 'Confirm' %}</button>
 | |
| </form>
 | |
| 
 | |
| {% else %}
 | |
| 
 | |
| {% url 'account_email' as email_url %}
 | |
| 
 | |
| <p>{% blocktrans %}This email confirmation link expired or is invalid. Please <a href="{{ email_url }}">issue a new email confirmation request</a>.{% endblocktrans %}</p>
 | |
| 
 | |
| {% endif %}
 | |
| 
 | |
| {% endblock %}
 |