Only show title in col 1 until both docs selected.

This commit is contained in:
Edward Betts 2018-11-22 16:40:08 +00:00
parent fd54af9812
commit c56e520c98

View file

@ -57,8 +57,11 @@ body, html {
<div> <div>
<div class="col col1"> <div class="col col1">
<h3>Link builder</h3> <h3>Link builder</h3>
<p>Select something in the first document.</p>
<button class="btn btn-primary" id="new-link">confirm selection</button> {% if doc1 and doc2 %}
<p>Select something in the first document.</p>
<button class="btn btn-primary" id="new-link">confirm selection</button>
{% endif %}
</div> </div>
<div class="col col2"> <div class="col col2">