Commit cb3800e5 authored by smilin_desperado's avatar smilin_desperado

Add button to navigate to job url

parent a803513f
......@@ -40,7 +40,14 @@
<div class="col-md-5">
<div class="form-group">
{{ form.url.label_tag }}
{% render_field form.url class="form-control" placeholder="https://awesomecompany.com" %}
<div class="input-group">
{% if object.url %}
<span class="input-group-prepend">
<a class="btn btn-outline-primary" href="{{ object.url }}">Go</a>
</span>
{% endif %}
{% render_field form.url class="form-control" placeholder="https://awesomecompany.com" %}
</div>
</div>
</div>
<div class="col-md-3">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment