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:
parent
7e39db81ea
commit
e1469522dd
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue