file_array_data_edit.html 1.2 KB

1234567891011121314151617181920212223242526272829
  1. <include file="theme/functions"/>
  2. <include file="public@header"/>
  3. </head>
  4. <body>
  5. <div class="wrap">
  6. <ul class="nav nav-tabs">
  7. <li><a href="{:url('theme/fileArrayData',['tab'=>$tab,'var'=>$var,'file_id'=>$file_id,'widget'=>$widget])}">所有数据</a></li>
  8. <heq name="item_index" value="">
  9. <li class="active"><a>添加数据</a></li>
  10. <else/>
  11. <li>
  12. <a href="{:url('theme/fileArrayDataEdit',['tab'=>$tab,'var'=>$var,'file_id'=>$file_id,'widget'=>$widget])}">添加数据</a>
  13. </li>
  14. <li class="active"><a>编辑数据</a></li>
  15. </heq>
  16. </ul>
  17. <form method="post" class="js-ajax-form margin-top-20"
  18. action="{:url('theme/fileArrayDataEditPost',['tab'=>$tab,'var'=>$var,'file_id'=>$file_id,'widget'=>$widget])}">
  19. {:_parse_vars($array_item,'item',2)}
  20. <div class="form-group" style="display: none;">
  21. <input type="hidden" name="item_index" value="{$item_index}">
  22. <button type="submit" class="btn btn-primary js-ajax-submit" id="submit-btn">保存</button>
  23. </div>
  24. </form>
  25. </div>
  26. <include file="theme/scripts"/>
  27. </body>
  28. </html>