linked url_for

pull/1/head
km0 3 years ago
parent 325fe7e332
commit 45efc91428

@ -36,7 +36,7 @@
<% transform[branch['branch']] = f'{transform[branch["parent"]]} rotate({random() * 0.04 + steer}turn) translateX(100%)' %> <% transform[branch['branch']] = f'{transform[branch["parent"]]} rotate({random() * 0.04 + steer}turn) translateX(100%)' %>
<div class="svg-container" style="transform: ${transform[branch['parent']]}"> <div class="svg-container" style="transform: ${transform[branch['parent']]}">
<a href="/draw/${branch['branch']}" target="__blank"> <a href="${url_for('draw.draw', parent=branch, _external=True, _scheme='https')}" target="__blank">
${branch['content']} ${branch['content']}
</a> </a>
</div> </div>

Loading…
Cancel
Save