fieldlist-template.stub 1016 B

1234567891011121314151617181920
  1. <table class="table fieldlist" data-name="{%fieldName%}" data-template="{%fieldName%}tpl">
  2. <tr>
  3. {%theadList%}
  4. <td width="90">{:__('Operate')}</td>
  5. </tr>
  6. <tr><td colspan="{%colspan%}">
  7. <a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> {:__('Append')}</a>
  8. <textarea name="{%fieldName%}" class="form-control hide" cols="30" rows="5">{%fieldValue%}</textarea>
  9. </td></tr>
  10. </table>
  11. <script type="text/html" id="{%fieldName%}tpl">
  12. <tr>
  13. {%tbodyList%}
  14. <td width="90">
  15. <span class="btn btn-sm btn-danger btn-remove"><i class="fa fa-times"></i></span>
  16. <span class="btn btn-sm btn-primary btn-dragsort"><i class="fa fa-arrows"></i></span>
  17. </td>
  18. </tr>
  19. </script>