Netdeploy2 Babyyyy
This commit is contained in:
38
templates/quotes/new.html
Normal file
38
templates/quotes/new.html
Normal file
@@ -0,0 +1,38 @@
|
||||
{% 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 %}
|
||||
Reference in New Issue
Block a user