Merge pull request #50 from rintcius/allowHtmlInSummaryNotesDescription
allow html in summary, notes and description; fix default for readonly parameters
This commit is contained in:
@@ -12,14 +12,14 @@
|
||||
</h3>
|
||||
<ul class='options'>
|
||||
<li>
|
||||
<a href='#!/{{resourceName}}/{{nickname}}_{{httpMethod}}' class="toggleOperation">{{summary}}</a>
|
||||
<a href='#!/{{resourceName}}/{{nickname}}_{{httpMethod}}' class="toggleOperation">{{{summary}}}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class='content' id='{{resourceName}}_{{nickname}}_{{httpMethod}}_content' style='display:none'>
|
||||
{{#if notes}}
|
||||
<h4>Implementation Notes</h4>
|
||||
<p>{{notes}}</p>
|
||||
<p>{{{notes}}}</p>
|
||||
{{/if}}
|
||||
<form accept-charset='UTF-8' action='#' class='sandbox' method='post'>
|
||||
<div style='margin:0;padding:0;display:inline'></div>
|
||||
|
||||
@@ -17,5 +17,5 @@
|
||||
{{/if}}
|
||||
|
||||
</td>
|
||||
<td width='500'>{{description}}</td>
|
||||
<td width='500'>{{{description}}}</td>
|
||||
|
||||
|
||||
@@ -17,5 +17,5 @@
|
||||
{{/each}}
|
||||
</select>
|
||||
</td>
|
||||
<td width='500'>{{description}}</td>
|
||||
<td width='500'>{{{description}}}</td>
|
||||
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
<td class='code'>{{name}}</td>
|
||||
<td>-</td>
|
||||
<td width='500'>{{description}}</td>
|
||||
<td>
|
||||
{{#if isBody}}
|
||||
<textarea class='body-textarea' readonly='readonly' name='{{name}}'>{{defaultValue}}</textarea>
|
||||
{{else}}
|
||||
{{defaultValue}}
|
||||
{{/if}}
|
||||
</td>
|
||||
<td width='500'>{{{description}}}</td>
|
||||
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
<td class='code required'>{{name}}</td>
|
||||
<td>-</td>
|
||||
<td width='500'>{{description}}</td>
|
||||
|
||||
<td>
|
||||
{{#if isBody}}
|
||||
<textarea class='body-textarea' readonly='readonly' placeholder='(required)' name='{{name}}'>{{defaultValue}}</textarea>
|
||||
{{else}}
|
||||
{{defaultValue}}
|
||||
{{/if}}
|
||||
</td>
|
||||
<td width='500'>{{{description}}}</td>
|
||||
|
||||
@@ -16,5 +16,5 @@
|
||||
{{/if}}
|
||||
</td>
|
||||
<td width='500'>
|
||||
<strong>{{description}}</strong>
|
||||
<strong>{{{description}}}</strong>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user