diff options
author | supriya <supriya@dragbox.(none)> | 2012-08-07 11:41:01 +0530 |
---|---|---|
committer | supriya <supriya@dragbox.(none)> | 2012-08-07 11:41:01 +0530 |
commit | a97d8967426bda55381e0f235b26e51777228f5a (patch) | |
tree | 532dda45192f6b7dc03b716f21174702c880966a /gstudio/templates/gstudio/NewPage.html | |
parent | e08547938d44b756fd1af529429f208214c36522 (diff) | |
download | gnowsys-a97d8967426bda55381e0f235b26e51777228f5a.tar.gz |
Wikipage added to gstudio
Diffstat (limited to 'gstudio/templates/gstudio/NewPage.html')
-rw-r--r-- | gstudio/templates/gstudio/NewPage.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gstudio/templates/gstudio/NewPage.html b/gstudio/templates/gstudio/NewPage.html new file mode 100644 index 0000000..541554b --- /dev/null +++ b/gstudio/templates/gstudio/NewPage.html @@ -0,0 +1,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 %} + |