{% extends 'layouts/base.html' %}
{% block content %}
{% if form.nd_title.errors %}
<ul class="errors">
  {% for error in form.nd_title.errors %}
  <li>{{ error }}</li>
  {% endfor %}
</ul><br />
{% endif %}
<div class="top-pad">
  <form method="POST" action="{{url_for('home_blueprint.create_ws_node')}}">
    {{ form.csrf_token }}
    {{ form.nd_title.label }} {{ form.nd_title(size=20) }}
    {{ form.nd_desc.label }} {{ form.nd_desc(size=60) }}
    {{ form.nd_amount.label }} {{ form.nd_amount(size=20) }}
    {{ form.nd_ws_id.label }} {{ form.nd_ws_id(size=20,value=ws_id) }}
    <input type="submit" value="{{ ('Create') }}">
  </form>
</div>

{{ws_id}}
{{form}}
{% endblock %}