mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 02:12:05 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
{% load i18n %}
 | 
						|
 | 
						|
 | 
						|
{% if tournament.draw %}
 | 
						|
    Tirage lancé !
 | 
						|
{% else %}
 | 
						|
    <div class="alert alert-warning">
 | 
						|
        {% trans "The draw has not started yet." %}
 | 
						|
 | 
						|
        {% if user.registration.is_volunteer %}
 | 
						|
            <form id="format-form-{{ tournament.id }}">
 | 
						|
                <div class="col-md-3">
 | 
						|
                    <div class="input-group">
 | 
						|
                        <label class="input-group-text" for="format-{{ tournament.id }}">
 | 
						|
                            {% trans "Configuration:" %}
 | 
						|
                        </label>
 | 
						|
                        <input type="text" class="form-control" id="format-{{ tournament.id }}"
 | 
						|
                               pattern="^[345](\+[345])*$"
 | 
						|
                               placeholder="{{ tournament.best_format }}"
 | 
						|
                               value="{{ tournament.best_format }}">
 | 
						|
                        <button class="btn btn-success input-group-btn">{% trans "Start!" %}</button>
 | 
						|
                    </div>
 | 
						|
                </div>
 | 
						|
            </form>
 | 
						|
        {% endif %}
 | 
						|
    </div>
 | 
						|
{% endif %}
 |