fix for default values--standardized on which is handled by ParameterView.coffee

This commit is contained in:
Tony Tam
2014-11-22 07:54:20 -10:00
parent 1531dd69a9
commit 091eca50d9
4 changed files with 11 additions and 11 deletions

View File

@@ -1,10 +1,10 @@
<td class='code required'>{{name}}</td>
<td>
{{#if isBody}}
<textarea class='body-textarea' readonly='readonly' placeholder='(required)' name='{{name}}'>{{defaultValue}}</textarea>
<textarea class='body-textarea' readonly='readonly' placeholder='(required)' name='{{name}}'>{{default}}</textarea>
{{else}}
{{#if defaultValue}}
{{defaultValue}}
{{#if default}}
{{default}}
{{else}}
(empty)
{{/if}}