summaryrefslogtreecommitdiff
path: root/framework/Data/ActiveRecord/Scaffold/TScaffoldEditView.tpl
blob: 884ec2a38fac22c7c502609c876df055ed97cb6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<div class="scaffold_edit_view">
<div class="edit-inputs">
<com:TRepeater ID="_repeater" onItemCreated="createRepeaterEditItem">
	<prop:ItemTemplate>
	<div class="edit-item item_<%# $this->ItemIndex % 2 %>
		input_<%# $this->ItemIndex %> property_<%# $this->DataItem->Property %>">
		<com:TLabel ID="_label" CssClass="item-label"/>
		<span class="item-input">
			<com:TPlaceHolder ID="_input" />
		</span>
	</div>
	</prop:ItemTemplate>
</com:TRepeater>
</div>

<div class="edit-page-buttons">
<com:TButton ID="_save" Text="Save" CommandName="save" ValidationGroup=<%= $this->ValidationGroup %>/>
<com:TButton ID="_clear" Text="Clear" CommandName="clear" CausesValidation="false"/>
<com:TButton ID="_cancel" Text="Cancel" CommandName="cancel" CausesValidation="false" Visible="false"/>
</div>
</div>