groupUpdate.ftl 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <!DOCTYPE HTML>
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <#include "../layout/header.ftl"/>
  5. <#include "../layout/common.cssjs.ftl"/>
  6. <style type="text/css">
  7. .table th, .table td {
  8. padding: .2rem;
  9. vertical-align: middle;
  10. }
  11. </style>
  12. </head>
  13. <body>
  14. <form id="actionForm" method="post" type="label" autoclose="true" action="<@base/>/groups/update" class="needs-validation" novalidate>
  15. <table border="0" cellpadding="0" cellspacing="0" class="table table-bordered">
  16. <tbody>
  17. <tr style="display:none1">
  18. <th><@locale code="group.id" />:</th>
  19. <td nowrap>
  20. <input id="id" type="text" readonly name="id" class="form-control" value="${model.id}"/>
  21. </td>
  22. </tr>
  23. <tr>
  24. <th><@locale code="group.name" />:</th>
  25. <td nowrap>
  26. <input type="text" id="name" name="name" class="form-control" title="" value="${model.name}" required="" />
  27. </td>
  28. </tr>
  29. <tr>
  30. <td nowrap colspan="2" class="center">
  31. <input id="_method" type="hidden" name="_method" value="post"/>
  32. <input id="status" type="hidden" name="status" value="1"/>
  33. <input class="button btn btn-primary mr-3" id="submitBtn" type="submit" value="<@locale code="button.text.save" />">
  34. <input class="button btn btn-secondary mr-3" id="closeBtn" type="button" value="<@locale code="button.text.cancel" />">
  35. </td>
  36. </tr>
  37. </tbody>
  38. </table>
  39. </form>
  40. </body>
  41. </html>