% flashed_errors(:role) %>
Role |
Custom Role |
|
<%= select('role', 'name', Role::DEFAULT_NAMES, { :include_blank => true }, {:style => 'width:250px;'}) %> | or | <%= text_field 'role', 'custom_name', :style =>'width:250px;' %> |
Host
<%= select('role', 'host_id', @host_choices, { :include_blank => true }, {:style => 'width:250px;'}) %>
Custom SSH Port (leave blank for default)
<%= text_field 'role', 'ssh_port', :style =>'width:50px;' %>
Primary (tick this for the DB master)
<%= check_box 'role', 'primary', :style =>'' %>
No release (tick this if you do not want any checkouts on this host)
<%= check_box 'role', 'no_release', :style =>'' %>
No symlink (tick this if you do not want to update the current symlink)
<%= check_box 'role', 'no_symlink', :style =>'' %>