1
{% extends "layout.html" %}
2
{% block body %}
3
<h4> Register a new context with the <i>swt web</i> platform </h4>
4
<p class="text-muted"> Please fill in the details below and click Register button </p>
5
6
<form role="form" method="POST" action="{{ url_for('context.register') }}">
7
  <div class="form-group">
8
    <label for="name">Name </label>
9
    <input type="text" class="form-control" name="name" id="name" placeholder="Name of the context">
10
  </div>
11
  <div class="form-group">
12
    <label for="defn">Definition</label>
13
    <p class="help-block"> JSON-LD definition. Insert a JSON-LD.</p>
14
    <textarea class="form-control" rows="4" id="defn" name="defn">
15
    </textarea>
16
  </div>
17
  <button type="submit" class="btn btn-primary">Register</button>
18
</form>
19
{% endblock %}