<inp2:m_include t="incs/header"/>
<inp2:m_RenderElement name="combined_header" prefix="coup" section="in-commerce:coupons" title_preset="coupons_clone"/>

<!-- ToolBar -->
<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
<tbody>
	<tr>
	  	<td>
	  		<script type="text/javascript">
					a_toolbar = new ToolBar();

	  				a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() {
								submit_event('coup', 'OnApplyClone');
							}
						) );
					a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
								window_close();
							}
					 	) );

					a_toolbar.Render();
			</script>

		</td>
	</tr>
</tbody>
</table>

<inp2:coup_SaveWarning name="grid_save_warning"/>
<inp2:coup_ErrorWarning name="form_error_warning"/>

<div id="scroll_container">
	<table class="edit-form">
		<tr class="<inp2:m_odd_even odd='edit-form-odd' even='edit-form-even'/>">
			<inp2:m_inc param="tab_index" by="1"/>
			<td class="label-cell">
				<label for="clone_items_count"><inp2:m_phrase label="la_EnterNumberOfCopies"/>:</label>
			</td>
			<td class="control-mid">&nbsp;</td>
			<td class="control-cell">
				<input name="clone_items_count" id="clone_items_count" value="<inp2:coup_LastCloneCount />" size="5">
			</td>
		</tr>
		<tr class="<inp2:m_odd_even odd='edit-form-odd' even='edit-form-even'/>">
			<inp2:m_inc param="tab_index" by="1"/>
			<td class="label-cell">
				<inp2:m_Phrase label="la_Expiration" />:
			</td>
			<td class="control-mid">&nbsp;</td>
			<td class="control-cell">
				<input type="text" name="clone_exp_date" id="clone_exp_date" value="<inp2:coup_DefaultExpDate />" datepickerIcon="<inp2:m_ProjectBase/>admin/images/ddarrow.gif" size="9">
					<span class="small">(mm.dd.yy)</span>
				<script type="text/javascript">
					initCalendar("clone_exp_date", "m.d.y");
				</script>
				&nbsp;<input type="text" name="clone_exp_time" id="clone_exp_time" value="<inp2:coup_DefaultExpTime />" size="9"><span class="small"> (h:mm:ss AM)</span>
				<br>

			</td>
			<inp2:m_RenderElement name="inp_edit_error" prefix="coup" field="Expiration"/>
		</tr>
		<inp2:m_RenderElement name="inp_edit_filler"/>
	</table>
</div>

<!-- <inp2:coup_HiddenSelection /> -->

<inp2:m_include t="incs/footer"/>

<script type="text/javascript">
	set_event('coup', '');
</script>