508 Fixes
Addresses #1021 mostly by adding label tags, generating unique element ids as needed. In the process, moved the label text that gets set in the ___ContentTypeView.js files to the respective handlebar templates; the text was static as far as I could tell. There are additional minor 508 improvements that can be made with the tables (scope tags, header attributes)
This commit is contained in:
@@ -1,24 +1,24 @@
|
||||
<td class='code'>{{name}}</td>
|
||||
<td class='code'><label for='{{valueId}}'>{{name}}</label></td>
|
||||
<td>
|
||||
|
||||
{{#if isBody}}
|
||||
{{#if isFile}}
|
||||
<input type="file" name='{{name}}'/>
|
||||
<input type="file" name='{{name}}' id='{{valueId}}'/>
|
||||
<div class="parameter-content-type" />
|
||||
{{else}}
|
||||
{{#if default}}
|
||||
<textarea class='body-textarea' name='{{name}}'>{{default}}</textarea>
|
||||
<textarea class='body-textarea' name='{{name}}' id='{{valueId}}'>{{default}}</textarea>
|
||||
<br />
|
||||
<div class="parameter-content-type" />
|
||||
{{else}}
|
||||
<textarea class='body-textarea' name='{{name}}'></textarea>
|
||||
<textarea class='body-textarea' name='{{name}}' id='{{valueId}}'></textarea>
|
||||
<br />
|
||||
<div class="parameter-content-type" />
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{else}}
|
||||
{{#if isFile}}
|
||||
<input type="file" name='{{name}}'/>
|
||||
<input type="file" name='{{name}}' id='{{valueId}}'/>
|
||||
<div class="parameter-content-type" />
|
||||
{{else}}
|
||||
{{#renderTextParam this}}
|
||||
|
||||
Reference in New Issue
Block a user