Revision dec6f148
Added by Amos Benari about 12 years ago
- ID dec6f148597f2b72fa2ecb0786ee70d059a77e52
app/views/hosts/_provisioning.html.erb | ||
---|---|---|
<div class="alert alert-success">
|
||
<a class="close" href="#" data-dismiss="alert">×</a>
|
||
<% templates.sort{|t,x| t.template_kind <=> x.template_kind}.each do |tmplt| -%>
|
||
<div class="row">
|
||
<li class="span3"> <b><%= tmplt.template_kind %> Template</b> </li>
|
||
<li class="span5"> <%= link_to_if_authorized h(tmplt), hash_for_edit_config_template_path(:id => tmplt.to_param), :class => "label label-info" %></li>
|
||
<div class="control-group">
|
||
<div class="control-label"> <%= tmplt.template_kind %> Template </div>
|
||
<div class="controls"> <%= link_to_if_authorized h(tmplt), hash_for_edit_config_template_path(:id => tmplt.to_param), :rel=>"external" %></div>
|
||
</div>
|
||
<% end -%>
|
||
</div>
|
Also available in: Unified diff
[UI] templates button in host form.