<!-- IF TPL_ADD_ATTACHMENT -->
<!--========================================================================-->
<div class="col-md-6">
	<div class="form-group">
		<label>{L_FILENAME}</label>
		<input type="file" name="fileupload" size="45" maxlength="{FILESIZE}" />
		<p class="help-block">{L_ADD_ATTACHMENT_EXPLAIN}</p>
	</div>
</div>
<div class="col-md-6">
	<label>{L_FILE_COMMENT}</label>
	<div class="input-group" style="margin-bottom: 31px;">
		<input type="text" name="filecomment" class="form-control" value="{FILE_COMMENT}" />
		<span class="input-group-btn">
			<button type="submit" class="btn btn-info btn-flat" name="add_attachment">{L_ADD_ATTACHMENT}</button>
		</span>
	</div>
</div>
<!--========================================================================-->
<!-- ENDIF / TPL_ADD_ATTACHMENT -->

<!-- IF TPL_POSTED_ATTACHMENTS -->
<!--========================================================================-->
<!-- BEGIN attach_row -->
<div class="col-md-6">
	<label>{L_OPTIONS}</label>
	<div class="input-group">
		<!-- BEGIN switch_update_attachment -->
		<input class="btn btn-default btn-flat" type="submit" name="update_attachment[{attach_row.ATTACH_ID}]" value="{L_UPLOAD_NEW_VERSION}" />&nbsp;
		<!-- END switch_update_attachment -->
		<input class="btn btn-default btn-flat" type="submit" name="del_attachment[{attach_row.ATTACH_FILENAME}]" value="{L_DELETE_ATTACHMENT}" />&nbsp;
		<!-- BEGIN switch_thumbnail -->
		<input class="btn btn-default btn-flat" type="submit" name="del_thumbnail[{attach_row.ATTACH_FILENAME}]" value="{L_DELETE_THUMBNAIL}" />&nbsp;
		<!-- END switch_thumbnail -->
	</div>
</div>
<div class="col-md-6">
	<label>{L_FILENAME} <a href="{attach_row.U_VIEW_ATTACHMENT}" target="_blank"><b>{attach_row.FILE_NAME}</b></a></label>
	<div class="input-group">
		<input type="text" name="comment_list[]" class="form-control" value="{attach_row.FILE_COMMENT}" placeholder="{L_FILE_COMMENT}" />
		<span class="input-group-btn">
			<button type="submit" class="btn btn-info btn-flat" name="edit_comment[{attach_row.ATTACH_FILENAME}]">{L_UPDATE_COMMENT}</button>
		</span>
	</div>
</div>
<!-- END attach_row -->
<!--========================================================================-->
<!-- ENDIF / TPL_POSTED_ATTACHMENTS -->