app/views/domains/edit.html.haml
%h1.underline=t :title_update_zone
/ These divs contain the help information.
%div{ :style => 'display: none' }
#help-domain=t :help_domain_fqdn
#help-type=t :help_domain_type
#help-master=t :help_domain_master
#help-ttl=t :help_ttl
= form_for(@domain) do |f|
= error_messages_for :domain
%p
%table.grid
%tr
%td{:width => "300"}=t :label_domain_name
%td= f.text_field :name
%td= help_icon('help-domain')
%tr
%td= t :label_domain_type
%td
= f.select :type, ['NATIVE','MASTER','SLAVE']
%td= help_icon('help-type')
%tr#master-address{ :style => 'display: none' }
%td= t :label_domain_master_address
%td= f.text_field :master
%td= help_icon('help-master')
%tr
%td= t :label_default_ttl
%td= f.text_field :ttl, :size => 8
%td= help_icon('help-ttl')
%table.grid
%tr
%td.right{:width => "300"}= link_to_cancel @domain
%td= submit_tag t(:generic_save)
%td