1
0
mirror of https://github.com/danog/schema.tl.git synced 2024-12-12 01:19:38 +01:00
schema.tl/views/constructors/show.html
2017-08-21 18:31:39 -07:00

30 lines
703 B
HTML

<div class="content-inner">
<h1 class="title title-constructor">{{ constructor.predicate }}#{{ constructor.id | toHex }}</h1>
<h2>Fields</h2>
<table ng-show="constructor.params.length">
<tr>
<th>
Name
</th>
<th>
Type
</th>
</tr>
<tr ng-repeat="param in constructor.params">
<td>
{{ param.name }}
</td>
<td>
<a href="#!/type/{{ param.type | actualType }}">{{ param.type }}</a>
</td>
</tr>
</table>
<div ng-hide="constructor.params.length">
This constructor has no fields.
</div>
<h3>Constructs <a href="#!/type/{{ constructor.type | actualType }}">{{ constructor.type }}</a></h3>
</div>