Commit 5ac9b243 authored by Vasyl Bodnaruk's avatar Vasyl Bodnaruk

Update html for including flag old news

parent bc5d392f
......@@ -100,6 +100,20 @@
</div>
</div>
<div class="form-group row">
<label for="name" class="offset-1 col-2 col-form-label"><strong>Scrap old news:</strong></label>
<div class="col-1">
<label class="custom-control custom-checkbox">
{% if job.scrap_old_news %}
<input id="old" type="checkbox" class="custom-control-input" name="scrap_old_news" checked>
{% else %}
<input id="old" type="checkbox" class="custom-control-input" name="scrap_old_news">
{% endif %}
<span class="custom-control-indicator"></span>
</label>
</div>
</div>
<div class="form-group row">
<div class="offset-5 col-2">
<button type="submit" class="form-control btn btn-primary">Update</button>
......
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