clone of github.com/decent-newsroom/newsroom
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
887 B

<div {{ attributes }}>
<h2>Title: <b>{{ draft.title ?: 'Reading List' }}</b></h2>
<p><small>Slug: {{ draft.slug }}</small></p>
{% if draft.summary %}<p>{{ draft.summary }}</p>{% endif %}
<h3>Articles</h3>
{% if draft.articles is not empty %}
<ul class="small">
{% for coord in draft.articles %}
<li class="d-flex justify-content-between align-items-center gap-2">
<code class="flex-fill">{{ coord }}</code>
<button class="btn btn-sm btn-outline-danger" data-action="live#action" data-live-action-param="remove" data-live-coordinate-param="{{ coord }}">Remove</button>
</li>
{% endfor %}
</ul>
{% else %}
<p><small>No articles yet. Use search to add some.</small></p>
{% endif %}
<div class="mt-3">
<a class="btn btn-primary" href="{{ path('read_wizard_review') }}">Review & Sign</a>
</div>
</div>