version 1.1.2.5, 2005/10/19 16:00:02
|
version 1.1.2.7, 2008/08/27 12:12:48
|
Line 6
|
Line 6
|
<body> |
<body> |
<tal:block metal:fill-slot="navsel" tal:define="global menusel string:publications" /> |
<tal:block metal:fill-slot="navsel" tal:define="global menusel string:publications" /> |
<tal:block metal:fill-slot="body"> |
<tal:block metal:fill-slot="body"> |
<h3>Edit Publication</h3> |
<h3>Edit a publication</h3> |
|
|
<form action="editPublication" method="post"> |
<form action="editPublication" method="post" enctype="multipart/form-data"> |
|
<p>Bibliographical entry</p> |
<textarea tal:content="structure python:getattr(here,'text','')" name="text" rows="3" cols="80"></textarea> |
<textarea tal:content="structure python:getattr(here,'text','')" name="text" rows="3" cols="80"></textarea> |
|
|
|
<p>Image 1 (e.g. Cover)</p> |
|
<p tal:condition="python:hasattr(here,'publicationImage1')"> |
|
<img tal:attributes="src python:here.publicationImage1.absolute_url()" height="100"/> |
|
</p> |
|
<p>Upload new image:<input type="file" name="image1" len="50"/></p> |
|
<p>Image 2 (e.g. Table of Contents)</p> |
|
<p tal:condition="python:hasattr(here,'publicationImage2')"> |
|
<img tal:attributes="src python:here.publicationImage2.absolute_url()" height="100"/> |
|
</p> |
|
<p>Upload new image:<input type="file" name="image2" len="50"/></p> |
|
|
|
|
|
<p>Descriptive Text</p> |
|
<p> |
|
<textarea tal:content="structure python:getattr(here,'description','')" name="description" rows="10" cols="80"></textarea> |
|
</p> |
<p><input type="submit" value="submit"/></p> |
<p><input type="submit" value="submit"/></p> |
</form> |
</form> |
|
|