mirror of
https://github.com/sartography/protocol-builder-mock.git
synced 2025-02-21 03:48:18 +00:00
35 lines
1.1 KiB
HTML
35 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Protocol Builder Mock Configuration</title>
|
|
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
|
<link rel="stylesheet" href="https://use.typekit.net/kwp6dli.css">
|
|
{% assets 'app_scss' %}
|
|
<link href="{{ ASSET_URL }}" rel="stylesheet" type="text/css">
|
|
{% endassets %}
|
|
</head>
|
|
<body>
|
|
<h2>{{ title }}</h2>
|
|
<p>{{ details }}</p>
|
|
<form action="{{ action }}" method="post">
|
|
|
|
{{ form.csrf_token() }}
|
|
|
|
{% for field in form if field.name != "csrf_token" %}
|
|
<div class="form-field">
|
|
<div class="form-field-label">{{ field.label() }}:</div>
|
|
<div class="form-field-input">{{ field }}</div>
|
|
<div class="form-field-help">{{ description_map[field.name] }}</div>
|
|
{% for error in field.errors %}
|
|
<div class="form-field-error">{{ error }}</div>
|
|
{% endfor %}
|
|
</div>
|
|
{% endfor %}
|
|
<button class="btn btn-primary" type="submit">Submit</button>
|
|
<a href="/" class="btn btn-default">Cancel</a>
|
|
</form>
|
|
|
|
</body>
|
|
</html>
|