Project

General

Profile

« Previous | Next » 

Revision 4d4b84f6

Added by Ohad Levy almost 13 years ago

  • ID 4d4b84f6b722874504f508fa92802f6ddee37c11

fixes #35 - Allow hostgroup nesting for puppet classes and parameters

View differences:

app/views/hostgroups/_form.html.erb
<% form_for @hostgroup do |f| %>
<%= f.error_messages %>
<p>
<%= f.label :parent_id, "Parent", :class => "span-3" %>
<%= f.collection_select(:parent_id, accessible_hostgroups, :id, :to_label, { :include_blank => true },
{ :class => "span-3" }) %>
<%= f.label :name, nil, :class => "span-3" %>
<%= f.text_field :name, :class => "last" %>
<%= f.text_field :name, :class => "span-3" %>
</p>
<br>
<% field_set_tag 'Host Defaults' do -%>
<% field_set_tag 'Primary Settings' do %>

Also available in: Unified diff