diff --git a/CTOAsYouGo/core/templates/core/home.html b/CTOAsYouGo/core/templates/core/home.html index 8250bf9..ef2713c 100644 --- a/CTOAsYouGo/core/templates/core/home.html +++ b/CTOAsYouGo/core/templates/core/home.html @@ -1,18 +1,17 @@ {% extends 'core/base.html' %} {% load currency_filters %} - {% block content %}
{% for task in tasks %} +
+
+ {% endfor %}
{% endblock %} diff --git a/CTOAsYouGo/core/templates/core/task_detail.html b/CTOAsYouGo/core/templates/core/task_detail.html new file mode 100644 index 0000000..f71443a --- /dev/null +++ b/CTOAsYouGo/core/templates/core/task_detail.html @@ -0,0 +1,47 @@ +{% extends 'core/base.html' %} +{% load currency_filters %} +{% block content %} +
+

{{ task.title }}

+
+

{{ task.description }}

+ +

From: {{ task.price_from|cents_to_dollars }} To: {{ task.price_to|cents_to_dollars }}

+
+ + +
+
+
+
+ + +

Please fill out this field.

+
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + + +
+ +{% endblock %} diff --git a/CTOAsYouGo/core/templates/core/task_details.html b/CTOAsYouGo/core/templates/core/task_details.html deleted file mode 100644 index 147754a..0000000 --- a/CTOAsYouGo/core/templates/core/task_details.html +++ /dev/null @@ -1,10 +0,0 @@ -{% extends 'core/base.html' %} - -{% block content %} - - -

{{ task.title }}

-

{{ task.description }}

-

{{ task.price_from }} - {{ task.price_to }}

- Create a request -{% endblock %} \ No newline at end of file