39 lines
840 B
HTML
39 lines
840 B
HTML
{% extends "base.html" %}
|
|
{% block content %}
|
|
|
|
<h2>New Quote</h2>
|
|
|
|
<form method="POST">
|
|
<p>
|
|
<label>Title<br>
|
|
<input name="title" required style="width: 360px;">
|
|
</label>
|
|
</p>
|
|
|
|
<p>
|
|
<label>Category<br>
|
|
<select name="category" required>
|
|
<option value="web_design">Web Design</option>
|
|
<option value="it_services">IT Services</option>
|
|
<option value="pc_repair">PC Repair</option>
|
|
</select>
|
|
</label>
|
|
</p>
|
|
|
|
<p>
|
|
<label>Client<br>
|
|
<select name="client_id" required>
|
|
{% for c in clients %}
|
|
<option value="{{ c.id }}">{{ c.name }}</option>
|
|
{% endfor %}
|
|
</select>
|
|
</label>
|
|
</p>
|
|
|
|
|
|
<button type="submit">Create Quote</button>
|
|
<a href="{{ url_for('quotes.dashboard') }}" style="margin-left: 10px;">Cancel</a>
|
|
</form>
|
|
|
|
{% endblock %}
|