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.
40 lines
1.6 KiB
HTML
40 lines
1.6 KiB
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">{"Manage tags"|t}</h2>
|
|
<form method="POST" action="{$base_path}/manage-tags" name="changetag" id="changetag">
|
|
<div>
|
|
<input type="text" name="fromtag" aria-label="{'Tag'|t}" placeholder="{'Tag'|t}" value="{$fromtag}"
|
|
list="tagsList" autocomplete="off" class="awesomplete autofocus" data-minChars="1">
|
|
<datalist id="tagsList">
|
|
{loop="$tags"}<option>{$key}</option>{/loop}
|
|
</datalist>
|
|
</div>
|
|
<div>
|
|
<input type="text" name="totag" aria-label="{'New name'|t}" placeholder="{'New name'|t}"
|
|
list="toTagsList" autocomplete="off" class="awesomplete" data-minChars="1">
|
|
<datalist id="toTagsList">
|
|
{loop="$tags"}<option>{$key}</option>{/loop}
|
|
</datalist>
|
|
</div>
|
|
<div><i class="fa fa-info-circle" aria-hidden="true"></i> {'Case sensitive'|t}</div>
|
|
<input type="hidden" name="token" value="{$token}">
|
|
<div>
|
|
<input type="submit" value="{'Rename'|t}" name="renametag">
|
|
<input type="submit" value="{'Delete'|t}" name="deletetag" class="button button-red confirm-delete">
|
|
</div>
|
|
</form>
|
|
|
|
<p>{'You can also edit tags in the'|t} <a href="{$base_path}/tag-list?sort=usage">{'tag list'|t}</a>.</p>
|
|
</div>
|
|
</div>
|
|
{include="page.footer"}
|
|
</body>
|
|
</html>
|