<div id="bd">
  <div id="yui-main" class="content">
    <div class="yui-b first contentbox">
      <div class="yui-ge">

        <div class="record">
        
          <h1>{$record.title|escape:"html"}</h1>

          <form method="post" name="editForm">
          {if empty($savedData)}
            <p>
            {if isset($listFilter)}
              {translate text='The record you selected is not part of the selected list.'}
            {else}
              {translate text='The record you selected is not part of any of your lists.'}
            {/if}
            </p>
          {else}
            <table>
              {foreach from=$savedData item="current"}
                <tr>
                  <td>{translate text='List'}: </td>
                  <td>{$current.listTitle|escape:"html"}<input type="hidden" name="lists[]" value="{$current.listId}"></td>
                </tr>
                <tr>
                  <td><label for="tags{$current.listId}">{translate text='Tags'}:</label></td>
                  <td>
                    <input type="text" name="tags{$current.listId}" id="tags{$current.listId}" value="{$current.tags|escape:"html"}" size="50">
                  </td>
                </tr>
                <tr>
                  <td><label for="notes{$current.listId}">{translate text='Notes'}:</label></td>
                  <td>
                    <textarea name="notes{$current.listId}" id="notes{$current.listId}" rows="3" cols="50">{$current.notes|escape:"html"}</textarea>
                  </td>
                </tr>
                <tr><td></td><td><br></td></tr>
              {/foreach}
              <tr><td></td><td><input type="submit" name="submit" value="{translate text='Save'}"></td></tr>
            </table>
          {/if}
          </form>

        </div>

      </div>
    </div>
  </div>
</div>