EditLinkTableTemplate.html revision c68455debf3649a04569fe7826486aec2d4b04c9
<label class="block-header">{{t 'console.authentication.editChains.options'}}</label>
<table class="table">
{{#if linkConfig.options}}
<thead>
<tr>
<th>{{t "common.form.key"}}</th>
<th>{{t "common.form.value"}}</th>
<th class="fr-col-btn-1"></th>
</tr>
</thead>
{{/if}}
<tbody>
{{#each linkConfig.options}}
<tr>
<td class="optionsKey">{{@key}}</td>
<td class="optionsValue">{{this}}</td>
<td class="fr-col-btn-1">
<div class="btn-group">
<button class="btn btn-link delete-option"><i class="fa fa-times"></i></button>
</div>
</td>
</tr>
{{/each}}
<tr class="tr-row">
<td>
<label class="sr-only" for="optionsKey">{{t "common.form.key"}}</label>
<input type="text" class="form-control" id="optionsKey" placeholder="{{t 'common.form.addKey'}}">
</td>
<td>
<label class="sr-only" for="optionsKey">{{t "common.form.value"}}</label>
<input type="text" class="form-control" id="optionsValue" placeholder="{{t 'common.form.addValue'}}">
</td>
<td class="fr-col-btn-1">
<div class="btn-group">
<button id="addOption" type="submit" class="btn btn-default"><i class="fa fa-plus"></i></button>
</div>
</td>
</tr>
</tbody>
</table>