Add support for host in sandbox

This commit is contained in:
Adrien SAMSON 2013-11-13 17:04:49 +01:00
parent 8728e825ea
commit f71ba12d48

View File

@ -193,7 +193,7 @@
{% if enableSandbox %}
<div class="pane sandbox">
<form method="{{ data.method|upper }}" action="{{ data.uri }}">
<form method="{{ data.method|upper }}" action="{% if data.host is defined %}{{ data.https ? 'https://' : 'http://' }}{{ data.host }}{% endif %}{{ data.uri }}">
<fieldset class="parameters">
<legend>Input</legend>
{% if data.requirements is defined %}