{% extends "shared/base.html" %}


{% block title %}
  <title>Add a Video Link</title>
{% endblock %}

{% block content %}
  <div class="container">
    <div class="row">
      <div class="text-danger font-weight-bold">
        {% for error in errors %}
          <li>{{error}}</li>
        {% endfor %}
      </div>
    </div>

    <div class="row my-5">
      <h3 class="text-center display-4">Add a Video Link</h3>
      <form method="POST">
        <div class="mb-3">
          <input type="text" required class="form-control" name="url" value="{{url}}" placeholder="Video Link here">
        </div>
        <button type="submit" class="btn btn-primary">Submit</button>
      </form>
    </div>
  </div>
{% endblock %}

