Advertisement
Guest User

Untitled

a guest
Jul 20th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. .form-group
  2. = f.label :cloud_openstack_ignore_vol_az, "Ignore Cinder availability zone"
  3. br
  4. .btn-group.btn-group-toggle.enable-auditing-btn-group data-toggle="buttons"
  5. = label_tag :cloud_openstack_ignore_vol_az, nil, class: "btn btn-default #{'btn-primary active' if @cloud_openstack_ignore_vol_az == "true"}"
  6. = f.radio_button :enabled, "true", checked: @cloud_openstack_ignore_vol_az == "true"
  7. | True
  8. = label_tag :cloud_openstack_ignore_vol_az, nil, class: "btn btn-default #{'btn-primary active' if @cloud_openstack_ignore_vol_az == "false"}"
  9. = f.radio_button :enabled, "false", checked: @cloud_openstack_ignore_vol_az == "false"
  10. | False
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement