Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
3227926a
Commit
3227926a
authored
Apr 09, 2018
by
Francesc Guasch
Browse files
[#639] fixed undefined variable
parent
a8949f14
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/main/vm_options.html.ep
View file @
3227926a
...
...
@@ -15,20 +15,19 @@
MB available.
</div>
</div>
% if ($_user->is_admin ) {
<div class="row">
<div class="col-md-2">
<label class="control-label" for="timeout">Timeout</label>
</div>
<div class="col-md-2">
<input name="run_timeout" type="text"
% my $timeout = int($domain->run_timeout / 60);
% my $timeout = '';
% $timeout = int($domain->run_timeout / 60) if $domain->run_timeout;
% $timeout = '' if $timeout eq '0';
value="<%= $timeout %>" size="5">
</div>
<div class="col-md-6">The machine will shutdown after these minutes</div>
</div>
% }
<input type="submit">
<button type="reset" >Cancel</button>
</form>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment