Project

General

Profile

« Previous | Next » 

Revision 19bd108a

Added by Paul Kelly about 14 years ago

  • ID 19bd108a00fe760cfaac4b6bc7ef0f496ee29c1d

Fixes #240 - Clone operation highlights changes correctly

The clone operation no longer flags edits as errors. This looks better.

View differences:

app/views/hosts/_form.html.erb
<% field_set_tag 'Primary settings' do -%>
<table>
<tr>
<td><%= f.label :name %></td>
<td>Name</td>
<td><%= f.text_field :name, :size => 16, :value => @host.shortname %></td>
<td><%= f.label :hostgroup, "Host group" %></td>
<td>Host group</td>
<td><%= f.collection_select :hostgroup_id, Hostgroup.all, :id, :name, :include_blank => true %></td>
<td><%= f.label :environment %></td>
<td>Environment</td>
<td><%= f.collection_select :environment_id, Environment.all, :id, :to_label, :include_blank => true %></td>
<td><%= f.label :puppetmaster %></td>
<td>Puppetmaster</td>
<td><%= f.text_field :puppetmaster, :size => 10, :value => @host.puppetmaster %></td>
<td><%= link_to_function "Additional Classes", toggle_div(:classlist) %></td>
</tr>

Also available in: Unified diff