|
|
@@ -6,6 +6,7 @@ defmodule CvGenView.Work do
|
|
|
attr(:start_date, :any, required: true)
|
|
|
attr(:end_date, :any, default: nil)
|
|
|
attr(:summary, :string, required: true)
|
|
|
+ attr(:location, :string, required: true)
|
|
|
attr(:highlights, :list, required: true)
|
|
|
|
|
|
def work(assigns) do
|
|
|
@@ -23,7 +24,7 @@ defmodule CvGenView.Work do
|
|
|
<dd><.date class="end_date" date={@end_date} /></dd>
|
|
|
<% end %>
|
|
|
<dt class="work_location"></dt>
|
|
|
- <dd>Paris</dd>
|
|
|
+ <dd><%= @location %></dd>
|
|
|
</dl>
|
|
|
|
|
|
<p class="summary" lang="en"><%= @summary %></p>
|