Sha256: 0e65309d660a2ff4baf6d07ac945776307b75d3bc08ba5a501f737299157847c

Contents?: true

Size: 810 Bytes

Versions: 11

Compression:

Stored size: 810 Bytes

Contents

- url = serverhost.new_record? ? serverhosts_path : serverhost_path( serverhost )
.serverhosts--form
  = form_for serverhost, as: :serverhost, url: url do |f|
    .field
      = f.label :name
      = f.text_field :name

    .field
      %label Wco::Leadset
      = f.select :wco_leadset, options_for_select( @wco_leadsets_list, selected: serverhost.wco_leadset_id ), class: [ :select2 ]
    .field
      = f.label :next_port
      = f.number_field :next_port

    .field
      = f.label :ssh_host
      = f.text_field :ssh_host
    -# .field
    -#   = f.label :ssh_username
    -#   = f.text_field :ssh_username
    -# .field
    -#   = f.label :ssh_key
    -#   = f.text_field :ssh_key
    -# .field
    -#   = f.label :nginx_root
    -#   = f.text_field :nginx_root

    .actions
      = f.submit 'Submit'

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ish_manager-0.1.8.513 app/views/ish_manager/serverhosts/_form.haml
ish_manager-0.1.8.512 app/views/ish_manager/serverhosts/_form.haml
ish_manager-0.1.8.511 app/views/ish_manager/serverhosts/_form.haml
ish_manager-0.1.8.510 app/views/ish_manager/serverhosts/_form.haml
ish_manager-0.1.8.509 app/views/ish_manager/serverhosts/_form.haml
ish_manager-0.1.8.508 app/views/ish_manager/serverhosts/_form.haml
ish_manager-0.1.8.507 app/views/ish_manager/serverhosts/_form.haml
ish_manager-0.1.8.506 app/views/ish_manager/serverhosts/_form.haml
ish_manager-0.1.8.505 app/views/ish_manager/serverhosts/_form.haml
ish_manager-0.1.8.504 app/views/ish_manager/serverhosts/_form.haml
ish_manager-0.1.8.503 app/views/ish_manager/serverhosts/_form.haml