crowbar/crowbar-openstack

View on GitHub
crowbar_framework/app/views/barclamp/designate/_edit_attributes.html.haml

Summary

Maintainability
Test Coverage
= attributes_for @proposal do
  .panel-sub
    = header show_raw_deployment?, true

  .panel-body
    = instance_field :rabbitmq
    = instance_field :keystone

    = string_field :resource_email
    = string_field :resource_project

    %fieldset
      %legend
        = t(".ssl_header")

      = select_field %w(api protocol),
        :collection => :api_protocols_for_designate,
        "data-sslprefix" => "ssl",
        "data-sslcert" => "/etc/designate/ssl/certs/signing_cert.pem",
        "data-sslkey" => "/etc/designate/ssl/private/signing_key.pem"

      #ssl_container
        = boolean_field %w(ssl generate_certs)
        = string_field %w(ssl certfile)
        = string_field %w(ssl keyfile)
        = boolean_field %w(ssl insecure)
        = boolean_field %w(ssl cert_required),
          "data-enabler" => "true",
          "data-enabler-target" => "#ssl_ca_certs"
        = string_field %w(ssl ca_certs)