web/ldt/ldt/templates/iriuser/ldt/create_ldt.html
changeset 0 ecdfc63274bf
child 3 651f67b66c51
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/web/ldt/ldt/templates/iriuser/ldt/create_ldt.html	Tue Jun 08 01:16:35 2010 +0200
@@ -0,0 +1,29 @@
+{% load i18n %}
+{# form of creation of project ldt #}
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<?xml version="1.0" encoding="UTF-8"?>
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<link rel="stylesheet" href="{{BASE_URL}}static/ldt/css/ldt.css" />
+</head>
+<body>
+<div id="add_contribution">
+ <div class="title">{% trans "Create your project" %}</div>
+    <form action="{{create_project_action}}" method="POST">        
+        {% csrf_token %}
+        <label for="title">{% trans "Title" %}:</label>
+        <input class= "inputbox required" type="text" name="title" size="80"; value="" id="title" />
+        
+        <div class="title">{% trans "List of contents" %}</div>
+            <ul class='contentlist'>
+                {% for content in contents %}
+                <li><input type="checkbox" name="contents" value="{{ content.id}}" checked="true"/>{{content.iri_id}}</li>
+                {% endfor %}
+            </ul>
+        
+    <input class="button" id="ldt_submit" type="submit" value="{% trans 'Create' %}"/>
+    </form>
+</div>
+</body>
+</html>