Sha256: 4bd78a209f5b728b797260055d0d8d1354d39e29481267f7e03af298bb4368e4

Contents?: true

Size: 942 Bytes

Versions: 101

Compression:

Stored size: 942 Bytes

Contents

.content
  .inner
    - if form_for != "edit"
      %div.group.form
        %label.label Name
        = text_field :id => "client_name", :name => "name", :class => "text_field", :value => params.has_key?(:name) ? h(params[:name]) : @client.name
        %span.description The name of the Client
    
    - if form_for == "edit"
      %div.group.form
        %label.label Private Key
        = check_box :name => "regen_private_key", :label => "Regenerate Private Key (Existing one will no longer work!)", :value => "1"
        %br/
        
    %div.group.form
      %label.label Admin
      = check_box :id => "client_admin", :name => "admin", :value => "true", :label => "Whether or not the Client is an admin", :checked => @client.admin

    = form(:action => form_url, :method => :post, :id => form_id, :class => 'form') do
      %div.group
        .actions-bar
          .actions= submit submit_name, :id => submit_id, :class => 'button'

Version data entries

101 entries across 101 versions & 1 rubygems

Version Path
chef-server-webui-0.10.0.beta.7 app/views/clients/_form.html.haml
chef-server-webui-0.10.0.beta.6 app/views/clients/_form.html.haml
chef-server-webui-0.10.0.beta.5 app/views/clients/_form.html.haml
chef-server-webui-0.10.0.beta.4 app/views/clients/_form.html.haml
chef-server-webui-0.10.0.beta.3 app/views/clients/_form.html.haml
chef-server-webui-0.10.0.beta.2 app/views/clients/_form.html.haml
chef-server-webui-0.10.0.beta.1 app/views/clients/_form.html.haml
chef-server-webui-0.10.0.beta.0 app/views/clients/_form.html.haml
chef-server-webui-0.9.14 app/views/clients/_form.html.haml
chef-server-webui-0.9.14.rc.1 app/views/clients/_form.html.haml
chef-server-webui-0.9.14.beta.1 app/views/clients/_form.html.haml
chef-server-webui-0.9.12 app/views/clients/_form.html.haml
chef-server-webui-0.9.10 app/views/clients/_form.html.haml
chef-server-webui-0.9.10.rc.3 app/views/clients/_form.html.haml
chef-server-webui-0.9.10.rc.2 app/views/clients/_form.html.haml
chef-server-webui-0.9.10.rc.1 app/views/clients/_form.html.haml
chef-server-webui-0.9.10.rc.0 app/views/clients/_form.html.haml
chef-server-webui-0.9.8 app/views/clients/_form.html.haml
chef-server-webui-0.9.8.rc.0 app/views/clients/_form.html.haml
chef-server-webui-0.9.8.beta.2 app/views/clients/_form.html.haml