Sha256: 6049f6cabb1ef679c54b88afc982adde5d1efbf5a1c841f9f3d506ebb0c9138b

Contents?: true

Size: 1.01 KB

Versions: 3

Compression:

Stored size: 1.01 KB

Contents

= simple_form_for customize, url: admin_customize_install_default_path(customize), method: :post do |f|
  - if customize.installed == false
    %label
      %span.status.pull-left{style: "padding-right: 50px"} No installed
      .switch.pull-right
        %input{name: "customize[installed]", type: "hidden", value: "true"}
        %input#default_switch{:name => "customize[installed]", type: "checkbox", value: "true"}/
        %label.label-default{:for => "default_switch", onclick: "$('#edit_customize_#{customize.id}').submit(); $('#spinner').css('display', 'block')"}

  - else
    %label
      %span.status.pull-left{style: "padding-right: 50px"} Installed
      .switch.pull-right
        %input{name: "customize[installed]", type: "hidden", value: "false"}
        %input#default_switch{:name => "customize[installed]", type: "checkbox", value: "false", checked: "checked"}/
        %label.label-default{:for => "default_switch", onclick: "$('#edit_customize_#{customize.id}').submit(); $('#spinner').css('display', 'block')"}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
keppler-2.0.2 installer/core/app/views/admin/customizes/_switch_default_template.html.haml
keppler-2.0.1 installer/core/app/views/admin/customizes/_switch_default_template.html.haml
keppler-2.0.0 installer/core/app/views/admin/customizes/_switch_default_template.html.haml