summaryrefslogtreecommitdiff
path: root/root/add_form
diff options
context:
space:
mode:
Diffstat (limited to 'root/add_form')
-rw-r--r--root/add_form5
1 files changed, 3 insertions, 2 deletions
diff --git a/root/add_form b/root/add_form
index bbb608a..10e83bb 100644
--- a/root/add_form
+++ b/root/add_form
@@ -1,9 +1,10 @@
-<html>
+<?xml version="1.0" encoding="utf-8"?>
+<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>add</title>
</head>
<body>
-<form action="[% base _ 'add' %]" method="post">
+<form action="[% href.add_action() %]" method="post">
<p>Link: <input name="url" type="text" value="[% link.url %]" /></p>
<p>Title: <input name="title" type="text" value="[% link.title %]" /></p>
<p>Description: <input name="descr" type="text" value="[% link.descr %]" /></p>