Display the To and (if it exists) Cc correctly on the publication request form. Fixes #1819. Commit ready for merge.

- Legacy-Id: 10429
This commit is contained in:
Robert Sparks 2015-11-05 04:30:09 +00:00
parent 7e39db81ea
commit e1469522dd

View file

@ -41,9 +41,16 @@ href="https://www.rfc-editor.org/indsubs.html">guidelines</a>.
<div class="form-group">
<label>To</label>
<input class="form-control" type="text" placeholder="{{ message.to }}" disabled>
<input class="form-control" type="text" placeholder="{{ message.to|join:', ' }}" disabled>
</div>
{% if message.cc %}
<div class="form-group">
<label>Cc</label>
<input class="form-control" type="text" placeholder="{{ message.cc|join:', ' }}" disabled>
</div>
{% endif %}
{% bootstrap_form form %}
{% buttons %}