diff options
author | David Gay <david@davidgay.org> | 2021-07-14 18:36:31 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-07-14 18:36:31 -0400 |
commit | ddcef33636e06fac90ed81cb25928e0aa1bcdb6c (patch) | |
tree | 9bec83257620c2a2655de16d7483e0e79e88b0ec /app | |
parent | 52a54a272641ae01dba09fa64d00d2632bfd561d (diff) |
Display activity description above costs and requirements
Diffstat (limited to 'app')
-rw-r--r-- | app/views/activities/_costs_and_requirements.html.erb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/activities/_costs_and_requirements.html.erb b/app/views/activities/_costs_and_requirements.html.erb index 6ae66bb..5fb6f9b 100644 --- a/app/views/activities/_costs_and_requirements.html.erb +++ b/app/views/activities/_costs_and_requirements.html.erb @@ -1,5 +1,6 @@ <div class="text-sm border border-2 border-gray-700 rounded p-2 w-full"> <%= @text %> + <p class="text-xs italic"><%= @activity.description %></p> <p>Costs:<strong> <%= @activity.costs&.join(", ") || "None" %></strong> </p> <p>Requires:<strong> <%= @activity.requirements&.join(", ") || "None" %></strong> </p> </div> |