| <%/* |
| Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| use this file except in compliance with the License. You may obtain a copy of |
| the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| License for the specific language governing permissions and limitations under |
| the License. |
| */%> |
| |
| <% if (option.index === 0) {%> |
| <th> <%- option.section %> </th> |
| <% } else { %> |
| <td></td> |
| <% } %> |
| <td class="js-edit-value"> |
| <div class="js-show-value"> |
| <%- option.name %> |
| </div> |
| <div class="js-edit-value-form js-hidden"> |
| <input class="js-value-input" type="text" name="name" value="<%- option.name %>" /> |
| <button class="js-save-value btn btn-success fonticon-ok-circled btn-small"> </button> |
| <button class="js-cancel-value btn btn-small fonticon-cancel-circled"> </button> |
| </div> |
| </td> |
| <td class="js-edit-value"> |
| <div class="js-show-value"> |
| <%- option.value %> |
| </div> |
| <div class="js-edit-value-form js-hidden"> |
| <input class="js-value-input" type="text" name="value" value="<%- option.value %>" /> |
| <button class="js-save-value btn btn-success fonticon-ok-circled btn-small"> </button> |
| <button class="js-cancel-value btn btn-small fonticon-cancel-circled"> </button> |
| </div> |
| </td> |
| <td class="js-delete-value text-center"> <i class="icon-trash"> </i> </td> |