<form xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:xi="http://www.w3.org/2001/XInclude"
      method="POST"
      action="$action"
      py:attrs="attrs"
      enctype="multipart/form-data">
    <div class="content">
			<div class="row dual">
				<div class="column grid_8">
          ${Markup(c.widget.widget_type.display_field_by_idx(0))}
          <div>
              ${Markup(c.widget.widget_type.display_field_by_idx(1))}
          </div>
          ${Markup(c.widget.widget_type.display_field_by_idx(7))}
          ${Markup(c.widget.widget_type.display_field_by_idx(8))}
          ${Markup(c.widget.widget_type.display_field_by_idx(9))}
          <!-- ${c.attachment_list.display(attachments=list(value.attachments), edit_mode=False)} -->
        </div>

        <div id="sidebar-right" class="column grid_4 fright">
          <div class="listed">
            <b>Created by:</b>
            <a href="${ticket.reported_by.url()}">${ticket.reported_by.display_name}</a>
            <hr/>
            <b>Created Time:</b>
            ${h.ago(ticket.created_date)}
            <hr/>
            <div class="row dual">
              <div class="column" style="margin-right:0">
                <b>Assigned to:</b>
              </div>
              <div class="column" style="margin-left:0;width:48%; overflow:auto;">
                ${Markup(c.widget.widget_type.display_field_by_idx(3))}
              </div>
            </div>
            <hr/>
            <div class="row dual">
              <div class="column" style="margin-right:0">
                <b>Status:</b>
              </div>
              <div class="column" style="margin-left:0;width:48%; overflow:auto;">
                ${Markup(c.widget.widget_type.display_field_by_idx(2))}
              </div>
            </div>
            <hr/>
            <div class="row dual">
              <div class="column" style="margin-right:0">
                <b>Milestone:</b>
              </div>
              <div class="column" style="margin-left:0;width:48%; overflow:auto;">
                ${Markup(c.widget.widget_type.display_field_by_idx(4))}
              </div>
            </div>
            <hr/>
            <py:if test="len(fields) &gt; 10">
            ${Markup(c.widget.widget_type.display_field_by_idx(10, ignore_errors=True))}
            </py:if>
            <div class="row dual">
              <div class="column" style="margin-right:0">
                <b>Tags:</b>
              </div>
              <div class="column" style="margin-left:0;width:48%; overflow:auto;">
                ${Markup(c.widget.widget_type.display_field_by_idx(5))}
              </div>
            </div>
            <hr/>
            <div style="overflow: auto">
                <label><b>Add Attachment:</b></label>
                ${Markup(c.widget.widget_type.display_field_by_idx(6))}
            </div>
          </div>
        </div>
      </div>
    </div>


</form>