Template displaying errors at request creation
This commit is contained in:
@ -0,0 +1,61 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<style>
|
||||||
|
table {
|
||||||
|
font-family: arial, sans-serif;
|
||||||
|
border-collapse: collapse;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
td, th {
|
||||||
|
border: 1px solid #dddddd;
|
||||||
|
text-align: left;
|
||||||
|
padding: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
tr:nth-child(even) {
|
||||||
|
background-color: #dddddd;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h2>Freelancer: {{freelancername}}</h2>
|
||||||
|
<div>
|
||||||
|
Template Name: {{templatename}} <br>
|
||||||
|
Template ID: {{templateid}} <br>
|
||||||
|
</div>
|
||||||
|
{{#REQUEST_NOT_FILLED}}
|
||||||
|
<div>
|
||||||
|
Request form was not filled out completely - Request was not created
|
||||||
|
</div>
|
||||||
|
{{/REQUEST_NOT_FILLED}}
|
||||||
|
{{#ERROR_TEMPLATE_NOT_FOUND}}
|
||||||
|
<div>
|
||||||
|
Template Could not be found - Request was not created
|
||||||
|
</div>
|
||||||
|
{{/ERROR_TEMPLATE_NOT_FOUND}}
|
||||||
|
{{#ERROR_COMMISSIONS_CLOSED}}
|
||||||
|
<div>
|
||||||
|
Commissions are closed - Request was not created
|
||||||
|
</div>
|
||||||
|
{{/ERROR_COMMISSIONS_CLOSED}}
|
||||||
|
{{#ERROR_UNABLE_TO_CREATE_REQUEST}}
|
||||||
|
<div>
|
||||||
|
The Request could not be created
|
||||||
|
</div>
|
||||||
|
{{/ERROR_UNABLE_TO_CREATE_REQUEST}}
|
||||||
|
<br>
|
||||||
|
<form action="/customer/{{freelancername}}/template/{{templatename}}/request" method="post">
|
||||||
|
<button type="submit" name="templateID" value="{{templateid}}" class="button">Return to the Template Inputform</button>
|
||||||
|
</form>
|
||||||
|
<br>
|
||||||
|
<form action="/" method="post">
|
||||||
|
<button type="submit" class="button">Return to freelancer selection</button>
|
||||||
|
</form>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user