views/new_assertion.php
changeset 3 f3e55c2386a1
child 5 cb13c07e7e5d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/views/new_assertion.php	Sun Dec 28 16:57:53 2008 +0000
@@ -0,0 +1,21 @@
+<?php if(isset($title))
+    echo "<h2>$title</h2>";
+?>
+
+<?php echo validation_errors(); ?>
+
+<?=form_open("opiniarbo/index/$assertionid/$other_user");?>
+<input type="hidden" name="parent" id="parent" value="<?=$assertionid?>">
+<ul>
+<li>Aserto: <input type="text" name="text" id="text" maxlength="500" size="100" />
+<li>Valoro de aserto [-10 falsa, 10 vera]: <input type="text" name="value" id="value" maxlength="5" size="3" />
+<?php if(isset($parent_assertion_id)):?>
+<li>Influo al la patra aserto [-10 mala plena influo, 10 plena influo]: <input type="text" name="influence" id="influence" maxlength="5" size="3" />
+<?php endif;?>
+</ul>
+
+<h3>Kunteksto</h3>
+<p><textarea rows="10" cols="50" name="context" id="context"></textarea></p>
+
+<p><input type="submit" name="add" value="Aldoni"/></p>
+</form>