Sha256: 7d52b576b2646683f4e2ddba89f7b64b3ae00a1cff6a427979a2d57c10fe7037
Contents?: true
Size: 883 Bytes
Versions: 7
Compression:
Stored size: 883 Bytes
Contents
<div class="fields"> <% selected_item_c = '' selected_item_b = '' if params && params['host'] && params['host']['compute_attributes'] selected_item_c = params['host']['compute_attributes']['custom_template_name'] selected_item_b = params['host']['compute_attributes']['builtin_template_name'] end %> <div id='templates' class=''> <div class="form-group"> <%= 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 "> <%= 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> </div>
Version data entries
7 entries across 7 versions & 1 rubygems