Project

General

Profile

« Previous | Next » 

Revision dec6f148

Added by Amos Benari about 12 years ago

  • ID dec6f148597f2b72fa2ecb0786ee70d059a77e52

[UI] templates button in host form.

View differences:

app/views/operatingsystems/_template_defaults.html.erb
<% else -%>
<% if ConfigTemplate.joins(:operatingsystems).where(:id => @operatingsystem.id).empty? -%>
<div class="alert alert-message alert-warning">
<a class="close" href="#" data-dismiss="alert">×</a>
<a class="close" href="#" data-dismiss="alert">&times;</a>
<p><strong>No templates found!</strong> you probably need to configure your <%= link_to "templates", config_templates_path %> first.</p>
</div>
<% end -%>

Also available in: Unified diff