Revision 378c65e5
Added by Brad Buckingham over 10 years ago
app/views/hostgroups/_form.html.erb | ||
---|---|---|
<% if @environment or @hostgroup.environment %>
|
||
<%= render 'puppetclasses/class_selection', :obj => @hostgroup %>
|
||
<% else %>
|
||
<%= alert :class => 'alert-warning', :text => _('Please select an environment first') %><
|
||
<%= alert :class => 'alert-warning', :text => _('Please select an environment first') %>
|
||
<% end %>
|
||
</div>
|
||
|
Also available in: Unified diff
fixes #4152 - fix syntax error in _form.html.erb for hosts and hostgroups