Revision 6ba7db1e
Added by Operations ooVoo about 9 years ago
app/views/compute_resources_vms/form/_templates.html.erb | ||
---|---|---|
%>
|
||
|
||
<div id='templates' class=''>
|
||
<div class="form-group">
|
||
<div class="form-group custom_templates">
|
||
<%= selectable_f f, :custom_template_name,[[_("No template"), ""]] + compute_resource.custom_templates.map { |t| [t.name, t.name] }, {}, :class => 'form-control span2', :label => 'Custom Template' %>
|
||
</div>
|
||
|
||
<div class="form-group ">
|
||
<div class="form-group buildin_templates">
|
||
<%= selectable_f f, :builtin_template_name,[[_("No template"), ""]] + compute_resource.builtin_templates.map { |t| [t.name, t.name] }, {}, :class => 'form-control span2', :label => 'Builtin Template' %>
|
||
</div>
|
||
</div>
|
Also available in: Unified diff
Compatibility fix with Foreman 1.8
1. Auto provisioning using custom templates using xenstore
2. UI fix to avoid choosing build-in/custom templates together