Commit a8c1d1d4 authored by sebastien letort's avatar sebastien letort
Browse files

Webapp version can now be commited 'unpublished'.

parent 22799031
Pipeline #74075 failed with stage
in 1 second
......@@ -690,7 +690,7 @@ class WebappSandboxPanel(UserAccessMixin, TemplateView):
webapp=webapp,
number=number,
state=WebappVersion.SANDBOX,
published=True,
published=request.POST["published"],
description=request.POST["description"],
**extra)
stop_sandbox()
......
......@@ -144,6 +144,17 @@
</div>
</div>
</div>
<div class="form-row">
<div class="form-group">
<p>Do you want to publish it ?</p>
<input type="radio" name="published" value="True" id="yes_publish" checked>
<label for="yes_publish">yes</label>
<input type="radio" name="published" value="False" id="no_publish">
<label for="no_publish">no</label>
</div>
</div>
<div class="form-group">
<button type="submit" class="btn btn-primary">
<i class="fas fa-download"></i> Commit</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