Former-commit-id:a02aeb236c
[formerly9f19e3f712
] [formerlya02aeb236c
[formerly9f19e3f712
] [formerly06a8b51d6d
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]] Former-commit-id:06a8b51d6d
Former-commit-id:8e80217e59
[formerly3360eb6c5f
] Former-commit-id:377dcd10b9
14 lines
631 B
HTML
Executable file
14 lines
631 B
HTML
Executable file
{% extends 'layout.html' %}
|
|
{% block body %}
|
|
<h2>Create a Shorty-URL!</h2>
|
|
{% if error %}<div class="error">{{ error }}</div>{% endif -%}
|
|
<form action="" method="post">
|
|
<p>Enter the URL you want to shorten</p>
|
|
<p><input type="text" name="url" id="url" value="{{ url|e(true) }}"></p>
|
|
<p>Optionally you can give the URL a memorable name</p>
|
|
<p><input type="text" id="alias" name="alias">{#
|
|
#}<input type="submit" id="submit" value="Do!"></p>
|
|
<p><input type="checkbox" name="private" id="private">
|
|
<label for="private">make this URL private, so don't list it</label></p>
|
|
</form>
|
|
{% endblock %}
|