engine/app/views/locomotive/sites/_form.html.haml
2011-12-05 02:31:34 -08:00

12 lines
411 B
Plaintext

- content_for :head do
= render 'locomotive/sites/domains'
= f.inputs :name => :information do
= f.input :name
- if manage_subdomain_or_domains?
= f.inputs :name => :access_points do
= f.input :subdomain, :as => :'Locomotive::Subdomain', :domain => application_domain, :input_html => { :readonly => !manage_subdomain? }
- if manage_domains?
= f.input :domains, :as => :'Locomotive::Empty'