Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Update templates/index.html
Browse files- templates/index.html +6 -1
    	
        templates/index.html
    CHANGED
    
    | @@ -79,7 +79,12 @@ | |
| 79 | 
             
                    </div>
         | 
| 80 |  | 
| 81 | 
             
                    <div id="video-details">
         | 
| 82 | 
            -
                        {% if  | 
|  | |
|  | |
|  | |
|  | |
|  | |
| 83 | 
             
                            <div class="video-details">
         | 
| 84 | 
             
                                <h2>Detalles del Video</h2>
         | 
| 85 | 
             
                                <p><strong>Nombre del video:</strong> {{ video_details.title }}</p>
         | 
|  | |
| 79 | 
             
                    </div>
         | 
| 80 |  | 
| 81 | 
             
                    <div id="video-details">
         | 
| 82 | 
            +
                        {% if error_message %}
         | 
| 83 | 
            +
                            <div class="video-details">
         | 
| 84 | 
            +
                                <h2>Error</h2>
         | 
| 85 | 
            +
                                <p style="color: red;">{{ error_message }}</p>  <!-- Mostrar el mensaje de error -->
         | 
| 86 | 
            +
                            </div>
         | 
| 87 | 
            +
                        {% elif video_details %}
         | 
| 88 | 
             
                            <div class="video-details">
         | 
| 89 | 
             
                                <h2>Detalles del Video</h2>
         | 
| 90 | 
             
                                <p><strong>Nombre del video:</strong> {{ video_details.title }}</p>
         |