-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcoaNewWidget.html
30 lines (30 loc) · 898 Bytes
/
coaNewWidget.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<div class="coa">
<form>
<div class="chartFields">
{{if messages && messages.length > 0}}
<ul class="messages">
{{each messages}}
<li>${$value}</li>
{{/each}}
</ul>
{{/if}}
{{if errors && errors.length > 0}}
<ul class="errors">
{{each errors}}
<li>${$value}</li>
{{/each}}
</ul>
{{/if}}
<label for="speedtype" class="sameLine">SpeedType</label><input type="text" name="speedtype" value="${coa.speedtype}"/>
</div>
<div class="coaHeader">
<h3>Chart of Accounts ${coa.id}</h3>
</div>
<div class="coaFooter">
<button class="coaButton" onClick='$(this).parents(".coa").parent().coa("doAction","next");return false;'>Next</button>
{{if coa.speedtype}}
<button class="coaButton" onClick='$(this).parents(".coa").parent().coa("doAction","cancel");return false;'>Cancel Change Speedtype</button>
{{/if}}
</div>
</form>
</div>