| 12345678910111213141516171819202122 |
- {% extends 'base.html' %}
- {% block content %}
- <h1>{% block title %} Add a New Link {% endblock %}</h1>
- <form method="post">
- <label for="title">{{ link_name }}</label>
- <br>
- {{ request.form['link_name'] }}
- <input type="hidden" name="link_name"
- placeholder="Link name"
- value="{{ request.form['link_name'] }}"></input>
- <br>
- <label for="content">Target</label>
- <br>
- <input type="text" name="target"
- autocapitalize="off"
- placeholder="http://example.com"
- value="{{ request.form['target'] }}"></input>
- <br>
- <button type="submit">Submit</button>
- </form>
- {% endblock %}
|