aboutsummaryrefslogtreecommitdiffstats
path: root/python/Dawn/templates/edit_cp.html
blob: ff581c9ff63114a24f051de0c0395a5865a7026d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
    </head>
  <body style="max-width:1024px; margin:0 auto">
    <form method="POST" class="form-horizontal"
          action="{{url_for('edit_counterparty', cpcode=code)}}"
          enctype="multipart/form-data">
  {% for field in form %}
  <div class="form-group">
    {% if field.type != 'CSRFTokenField' %}
    <label class="control-label col-md-2" for="{{ field.id }}">
      {{ field.label.text }}
    </label>
    {% endif %}
    <div class="col-md-3">
      {{ field(class_="form-control") }}
    </div>
  </div>
  {% endfor %}
  <div class="form-group">
    <div class="col-md-offset-2 col-md-3">
      <button type="submit" class="btn btn-default">Submit</button>
    </div>
  </div>
    </form>
  </body>
</html>