|
|
@@ -0,0 +1,21 @@
|
|
|
+{% extends 'base.html' %}
|
|
|
+
|
|
|
+{% block content %}
|
|
|
+ <h1>{% block title %} Edit 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"
|
|
|
+ placeholder="http://example.com"
|
|
|
+ value="{{ request.form['target'] }}"></input>
|
|
|
+ <br>
|
|
|
+ <button type="submit">Submit</button>
|
|
|
+ </form>
|
|
|
+{% endblock %}
|