<!DOCTYPE html>
<html lang="en" dir="ltr">
  <head>
    <meta charset="utf-8">
    <title>人臉辨識修改</title>
  </head>
  <body>
    {% block content %}
      <form name='form1' action="{{ url_for('modifydb') }}" method="get">
        <table>
          <tr>
            <th colspan='2'>人員照片</th>
          </tr>
          <tr>
            <th colspan='2'><img src="{{ data[3] }}" /></th>
          </tr>
          <tr>
            <th>人員ID</th>
            <th><input name="uid" type="text" value="{{ data[0] }}" /></th>
            <th><a>可修改</a></th>
          </tr>
          <tr>
            <th>人員名稱</th>
            <th><input name="name" type="text" value="{{ data[1] }}" /></th>
            <th><a>可修改</a></th>
          </tr>
          <tr>
            <th>影像名稱</th>
            <th><input name="image" type="text" value="{{ data[2] }}" readonly /></th>
            <th><a>不可修改</a></th>
          </tr>
          <tr>
            <th colspan='2'><input type="submit" value="送出修改" /></th>
          </tr>
        </table>
      </form>
    {% endblock %}
  </body>
</html>