31 lines
1.1 KiB
HTML
31 lines
1.1 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% from 'components/save_button.html' import SaveButton %}
|
|
{% from 'components/text_input.html' import TextInput %}
|
|
|
|
{% block content %}
|
|
<div class="col task-order-form">
|
|
{% include "fragments/flash.html" %}
|
|
<div class="panel">
|
|
{% block portfolio_header %}
|
|
{% include "portfolios/header.html" %}
|
|
{% endblock %}
|
|
<base-form inline-template>
|
|
<form id="new-task-order" action='{{ url_for("task_orders.create", portfolio_id=portfolio.id) }}' method="POST" autocomplete="off">
|
|
{{ form.csrf_token }}
|
|
<div class="panel__content">
|
|
<!-- TODO: implement save bar with component -->
|
|
<span class="h3">Add Funding</span>
|
|
{{ SaveButton(text=('common.save' | translate), element='input', form='new-task-order') }}
|
|
</div>
|
|
<div class="panel__content">
|
|
{{ "task_orders.new.form_help_text" | translate }}
|
|
<hr>
|
|
{{ TextInput(form.number, validation='taskOrderNumber') }}
|
|
</div>
|
|
</form>
|
|
</base-form>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|