<!doctype html>
<html  {$html_attrs}>
	<head>
						<meta http-equiv="X-UA-Compatible" content="IE=Edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>{$pagetitle}</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<base href="{$projectPath}">
		{BEGIN styleCSSFiles}
<link REL="stylesheet" href="{$stylepath}" type="text/css">
{END styleCSSFiles}
			
	</head>

	<body class="{$stylename} function-add" {$bodyattrs}>
	{BEGIN body}
		{$header}
		<style>
			{$containerCss}
		</style>
		{$locking}
		<div class="r-small-page" 
			data-body-align="center"
			data-body-width="standard"
		>
							{BEGIN top_block}
<div class="r-form" data-location="top" id="form_top_{$pageid}" data-makeup="small" {$form_top} data-pageid="{$pageid}" data-page="announcements_add"
		data-v-width="4"
	data-v-margin="1"
	
>		
	 
		<div class="row">
			 
				<div 
	data-cellId="top_c1" data-pageid="{$pageid}"	{$cell_top_c1}
	class=" r-ori-vert			col-md-12
	">
	 
		<h2 data-itemtype="add_header" data-itemid="add_header" {$item_add_header}="" data-pageid="{$pageid}" >{$pagetitlelabel announcements add}</h2>
	</div>					</div>
	</div>		
{END top_block}
									{BEGIN above-grid_block}
<div class="r-form" data-location="above-grid" id="form_above-grid_{$pageid}" data-makeup="small" {$form_above-grid} data-pageid="{$pageid}" data-page="announcements_add"
		data-v-width="4"
	data-v-margin="1"
	
>		
	 
		<div class="row">
			 
				<div 
	data-cellId="above-grid_c1" data-pageid="{$pageid}"	{$cell_above-grid_c1}
	class=" r-ori-vert			col-md-12
	">
	 
		{BEGIN message_block}
<div data-itemtype="add_message" data-itemid="add_message" {$item_add_message}="" data-pageid="{$pageid}" class="alert {$message_class}" role="alert">
<h5>{$message}</h5>
<div>
{BEGIN message_back_button}
		
	<button class="btn btn-sm btn-default" {$backbutton_attrs}>{mlang_message BACK_TO_LIST}</button>
	{END message_back_button}
{BEGIN view_page_button}
	<button class="btn btn-sm btn-default" {$view_page_button_attrs}>{mlang_message VIEW}</button>
{END view_page_button}
{BEGIN edit_page_button}
	<button class="btn btn-sm btn-default" {$edit_page_button_attrs}>{mlang_message EDIT}</button>
{END edit_page_button}
</div>
</div>
{END message_block}	</div>					</div>
	</div>		
{END above-grid_block}
									{BEGIN grid_block}




 
	 
												<table 
	data-body-align="center"
	data-location="grid" id="form_grid_{$pageid}" data-makeup="small" {$form_grid} data-pageid="{$pageid}" data-page="announcements_add" 
	class="r-edit-form" cellpadding="0" cellspacing="0" 
	{$grid_hiddenattr} 
		data-form-width="1"
		
		data-v-width="4"
	>
	<tbody>
										<tr {$row_grid_0} >
										

{BEGIN cellblock_grid_c3}
<td
	{$cell_grid_c3}
	class=" r-ori-vert"
	
				data-fullwidth
		
			data-cellId="grid_c3" data-pageid="{$pageid}"
		data-v-cell="4"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN title_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_title}  r-vertical-field" 
	data-signal-error-for="title{$id}" {$required_attr_title}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field1" {$item_integrated_edit_field1}="" data-pageid="{$pageid}" data-field="title" data-fieldname="title" >

	<label class="r-edit-label control-label {$title_label_class}" for="{$labelfor_title}">
		{BEGIN title_label}
			{$title_forward_control}
			{$label announcements title }			{END title_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$title_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="title" {$tooltipAttr announcements title } >
		<div class="text-muted" >
		{$tooltip announcements title }		</div>
	</div>
	</div>


{END title_fieldblock}
											
{BEGIN photo_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_photo}  r-vertical-field" 
	data-signal-error-for="photo{$id}" {$required_attr_photo}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field2" {$item_integrated_edit_field2}="" data-pageid="{$pageid}" data-field="photo" data-fieldname="photo" >

	<label class="r-edit-label control-label {$photo_label_class}" for="{$labelfor_photo}">
		{BEGIN photo_label}
			{$photo_forward_control}
			{$label announcements photo }			{END photo_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$photo_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="photo" {$tooltipAttr announcements photo } >
		<div class="text-muted" >
		{$tooltip announcements photo }		</div>
	</div>
	</div>


{END photo_fieldblock}
											
{BEGIN message_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_message}  r-vertical-field" 
	data-signal-error-for="message{$id}" {$required_attr_message}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field3" {$item_integrated_edit_field3}="" data-pageid="{$pageid}" data-field="message" data-fieldname="message" >

	<label class="r-edit-label control-label {$message_label_class}" for="{$labelfor_message}">
		{BEGIN message_label}
			{$message_forward_control}
			{$label announcements message }			{END message_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$message_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="message" {$tooltipAttr announcements message } >
		<div class="text-muted" >
		{$tooltip announcements message }		</div>
	</div>
	</div>


{END message_fieldblock}
											
{BEGIN active_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_active}  r-vertical-field" 
	data-signal-error-for="active{$id}" {$required_attr_active}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field5" {$item_integrated_edit_field5}="" data-pageid="{$pageid}" data-field="active" data-fieldname="active" >

	<label class="r-edit-label control-label {$active_label_class}" for="{$labelfor_active}">
		{BEGIN active_label}
			{$active_forward_control}
			{$label announcements active }			{END active_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$active_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="active" {$tooltipAttr announcements active } >
		<div class="text-muted" >
		{$tooltip announcements active }		</div>
	</div>
	</div>


{END active_fieldblock}
											
{BEGIN type_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_type}  r-vertical-field" 
	data-signal-error-for="type{$id}" {$required_attr_type}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field8" {$item_integrated_edit_field8}="" data-pageid="{$pageid}" data-field="type" data-fieldname="type" >

	<label class="r-edit-label control-label {$type_label_class}" for="{$labelfor_type}">
		{BEGIN type_label}
			{$type_forward_control}
			{$label announcements type }			{END type_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$type_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="type" {$tooltipAttr announcements type } >
		<div class="text-muted" >
		{$tooltip announcements type }		</div>
	</div>
	</div>


{END type_fieldblock}
											
{BEGIN updated_by_admin_id_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_updated_by_admin_id}  r-vertical-field" 
	data-signal-error-for="updated_by_admin_id{$id}" {$required_attr_updated_by_admin_id}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field" {$item_integrated_edit_field}="" data-pageid="{$pageid}" data-field="updated_by_admin_id" data-fieldname="updated_by_admin_id" >

	<label class="r-edit-label control-label {$updated_by_admin_id_label_class}" for="{$labelfor_updated_by_admin_id}">
		{BEGIN updated_by_admin_id_label}
			{$updated_by_admin_id_forward_control}
			{$label announcements updated_by_admin_id }			{END updated_by_admin_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$updated_by_admin_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="updated_by_admin_id" {$tooltipAttr announcements updated_by_admin_id } >
		<div class="text-muted" >
		{$tooltip announcements updated_by_admin_id }		</div>
	</div>
	</div>


{END updated_by_admin_id_fieldblock}
	
								</td>
			{END cellblock_grid_c3}
								</tr>
			</tbody></table>
{END grid_block}
									{BEGIN below-grid_block}
<div class="r-form" data-location="below-grid" id="form_below-grid_{$pageid}" data-makeup="small" {$form_below-grid} data-pageid="{$pageid}" data-page="announcements_add"
		data-v-width="4"
	data-v-margin="1"
	
>		
	 
		<div class="row">
			 
				<div 
	data-cellId="below-grid_c1" data-pageid="{$pageid}"	{$cell_below-grid_c1}
	class="			col-md-12
	">
	 
		<span data-itemtype="add_save" data-itemid="add_save" {$item_add_save}="" data-pageid="{$pageid}" data-small="" data-button-item>
	<a type="button" title="" class="btn btn-primary   
	" {$savebutton_attrs} >
							{mlang_message SAVE}			</a>
</span>
	 
		{BEGIN reset_button}
<span data-itemtype="add_reset" data-itemid="add_reset" {$item_add_reset}="" data-pageid="{$pageid}" data-small="" data-button-item>
	<a type="button" title="" class="btn btn-default   
	" id="resetButton{$id}" >
							{mlang_message RESET}			</a>
</span>
{END reset_button}
	 
		{BEGIN back_button}
<span data-itemtype="add_back_list" data-itemid="add_back_list" {$item_add_back_list}="" data-pageid="{$pageid}" data-small="" data-button-item>
	<a type="button" title="" class="btn btn-default   
	" id="backButton{$id}" >
							{mlang_message BACK_TO_LIST}			</a>
</span>
{END back_button}
	 
		{BEGIN cancel_button}
<span data-itemtype="add_cancel" data-itemid="add_cancel" {$item_add_cancel}="" data-pageid="{$pageid}" data-small="" data-button-item>
	<a type="button" title="" class="btn btn-default   
	" id="cancelButton{$id}" >
							{mlang_message CANCEL}			</a>
</span>
{END cancel_button}
	</div>					</div>
	</div>		
{END below-grid_block}
			</div>
		{$footer}
	{END body}
	</body>
</html>
