Skip to content
This repository has been archived by the owner on Feb 1, 2019. It is now read-only.

Fixed render_model tag usage for lead_in #177

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h3>
<hr>

<div class="lead">
{% render_model job_opening "lead_in" "lead_in" safe %}
{% render_model job_opening "lead_in" "" "" safe %}
</div>
{% if detail_view %}
{% render_placeholder job_opening.content %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<li>
<p class="jobs-category"><a href="{{ category.grouper.get_absolute_url }}">{{ job_opening.category.name }}</a></p>
<h3 class="jobs-title"><a href="{{ job_opening.get_absolute_url }}">{% render_model job_opening "title" %}</a></h3>
<div class="jobs-lead">{% render_model job_opening "lead_in" "lead_in" safe %}</div>
<div class="jobs-lead">{% render_model job_opening "lead_in" "" "" safe %}</div>
<p class="jobs-more"><a href="{{ job_opening.get_absolute_url }}">{% trans "read more" %}</a></p>
</li>
{% endfor %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h2>
{% endif %}
</h2>
{% endblock %}
<div class="jobs-lead">{% render_model object "lead_in" "lead_in" "" safe %}</div>
<div class="jobs-lead">{% render_model object "lead_in" "" "" safe %}</div>
<div class="jobs-content">{% render_placeholder object.content %}</div>

{% include "aldryn_jobs/includes/jobs_application.html" %}
Expand Down
2 changes: 1 addition & 1 deletion aldryn_jobs/templates/aldryn_jobs/includes/job.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ <h3>
{% endif %}
</p>

{% render_model job_opening "lead_in" "lead_in" safe %}
{% render_model job_opening "lead_in" "" "" safe %}

{% if detail_view %}
{% render_placeholder job_opening.content %}
Expand Down