{% extends 'layouts/base.html' %}
{% block content %}
{% if form.usr_name.errors %}
<ul class="errors">
  {% for error in form.usr_name.errors %}
  <li>{{ error }}</li>
  {% endfor %}
</ul><br />
{% endif %}

<div class="row">
  <div class="col-md-9">
    <span class="float-center">Share workspace with user</span>

  </div>
  <div class="col-md-3"><span class="float-end">
      <button class="btn btn-gray-800 d-inline-flex align-items-center me-3 "> </button>
    </span>
  </div>
</div>
<hr>

<div class="top-pad">
  <form method="POST" action="{{url_for('home_blueprint.share_ws')}}">
    {{ form.csrf_token }}
    {{ form.usr_name.label }} {{ form.usr_name(size=20) }}
    {{ form.nd_ws_id(size=20,value=ws_id) }}
    <input class="btn btn-sm btn-primary" type="submit" value="{{ ('Share') }}">
  </form>
</div>
<br>
<hr>
<br>
{% endblock %}