<dtml-var standard_html_header>

<div class="Desktop">

<dtml-if message>
 <p>&dtml-message;</p>
 <hr>
</dtml-if>

<div class="NewsItem">

<h2>Edit &dtml-getId;</h2>

<form action="newsitem_edit" method="post">
<table class="FormLayout">
 <tr>
  <th> Title
  </th>
  <td> <dtml-var Title> </td>
 </tr>

 <tr>
  <th>
   Format
  </th>
  <td>
   <input type="radio" name="text_format" value="structured-text"
          <dtml-if "text_format=='structured-text'">checked</dtml-if>
          id="cb_structuredtext" />
          <label for="cb_structuredtext">structured-text</label>
   <input type="radio" name="text_format" value="plain"
          <dtml-if "text_format=='plain'">checked</dtml-if>
          id="cb_html" />
          <label for="cb_html">plain text</label>
   <input type="radio" name="text_format" value="html"
          <dtml-if "text_format=='html'">checked</dtml-if>
          id="cb_html" />
          <label for="cb_html">html</label>
  </td>
 </tr>

 <tr>
  <th class="TextField"> Lead-in </th>
  <td class="TextField">
   <textarea name="description:text" rows="10"
             cols="65">&dtml-description;</textarea>
  </td>
 </tr>

 <tr>
  <th class="TextField"> Body
  </th>
  <td class="TextField">
   <textarea name="text:text" rows="20" cols="65">&dtml-EditableBody;</textarea>
  </td>
 </tr>

 <tr>
  <th> <br> </td>
  <td>
   <input type="submit" name="change" value=" Change ">
   <input type="submit" name="change_and_view" value=" Change and View ">
  </td>
 </tr>

</table>
</form>

</div>

</div>

<dtml-var standard_html_footer>
