view zpt/addSendMailForm.zpt @ 0:88009fd07d31

VLP specific additions to ECHO_content product. First checkin.
author casties
date Wed, 17 Apr 2013 14:54:21 +0200
parents
children
line wrap: on
line source

<h1 tal:replace="structure here/manage_page_header">Header</h1>

<h2 tal:define="form_title string:Add Page Template"
    tal:replace="structure here/manage_form_title">Form Title</h2>

<p class="form-help">
Page Templates allow you to use simple HTML or XML attributes to
create dynamic templates.  You may choose to upload the template text
from a local file by typing the file name or using the <em>browse</em>
button.
</p>

<form action="manage_addSendMailForm" method="post" 
 enctype="multipart/form-data">
<table cellspacing="0" cellpadding="2" border="0">
  <tr>
    <td align="left" valign="top">
    <div class="form-label">
    Id
    </div>
    </td>
    <td align="left" valign="top">
    <input type="text" name="id" size="40" />
    </td>
  </tr>
<tr>	
    <td align="left" valign="top">
    <div class="form-label">
    Mailhost
    </div>
    </td>
    <td align="left" valign="top">
    <input type="text" name="mailServer" size="40" />
    </td>
  </tr>
<tr>	
    <td align="left" valign="top">
    <div class="form-optional">
    Prefix for Subjectfield
    </div>
    </td>
    <td align="left" valign="top">
    <input type="text" name="subjectAdd" size="40" />
    </td>
  </tr>

  <tr>
    <td align="left" valign="top">
    <div class="form-optional">
    Adresses where the mail <br>should be sent to (one address per line):
    </div>
    </td>
    <td align="left" valign="top">
    <textarea name="toAddrs" cols=30 rows=20></textarea>
    </td>
  </tr>
  <tr>
    <td align="left" valign="top">
    </td>
    <td align="left" valign="top">
    <div class="form-element">
    <input class="form-element" type="submit" name="submit" 
     value=" Add " /> 
    <input class="form-element" type="submit" name="submit" 
     value=" Add and Edit " />
    </div>
    </td>
  </tr>
</table>
</form>

<h1 tal:replace="structure here/manage_page_footer">Footer</h1>