blob: 541554b2e54e539ffd6ecca79214a154a400f041 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{%extends "gstudio/base.html"%}
{%load i18n %}
{% block content %}
{%if user.is_authenticated%}
{% if errors %}
<ul>
{% for error in errors %}
<li><font color="red">{{ error }} </font></li>
{% endfor %}
</ul>
{% endif %}
<form action="" method="post">
{% csrf_token %}
<p>Name of the Page: <input type="text" name="subject"></p>
<textarea name="page" id="pagecontent" rows="10" cols="50" style="display:none;"></textarea></p>
<p><textarea name="org1" id="orgpage1" rows="10" cols="50" style="display:none;" ></textarea></p></br>
<input type="button" id="pagecontent1" name="content" value="Add Content"/>
<input type="button" name="savepage" id="save" value="Save Page"></p>
</br>
<input type="hidden" value={{user.id}} name = "idusr">
<input type="submit" value="Submit">
</form>
{%else%}
<p> Sorry! Login To proceed </p>
{%endif%}
{% endblock %}
|