818b3193ff
With the new routes, all pages are not all at the same folder level anymore (e.g. /shaare and /shaare/123), so we can't just use './' everywhere. The most consistent way to handle this is to prefix all path with the proper variable, and handle the actual path in controllers.
25 lines
759 B
HTML
25 lines
759 B
HTML
<!DOCTYPE html>
|
|
<html{if="$language !== 'auto'"} lang="{$language}"{/if}>
|
|
<head>
|
|
{include="includes"}
|
|
</head>
|
|
<body>
|
|
{include="page.header"}
|
|
<div class="pure-g">
|
|
<div class="pure-u-lg-1-3 pure-u-1-24"></div>
|
|
<div id="addlink-form" class="page-form page-form-light pure-u-lg-1-3 pure-u-22-24">
|
|
<h2 class="window-title">{"Shaare a new link"|t}</h2>
|
|
<form method="GET" action="{$base_path}/shaare" name="addform" class="addform">
|
|
<div>
|
|
<label for="shaare">{'URL or leave empty to post a note'|t}</label>
|
|
<input type="text" name="post" id="shaare" class="autofocus">
|
|
</div>
|
|
<div>
|
|
<input type="submit" value="{'Add link'|t}">
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{include="page.footer"}
|
|
</body>
|
|
</html>
|