ManageIQ/manageiq-ui-classic

View on GitHub
app/views/container_template/_service_dialog_from_ct.html.haml

Summary

Maintainability
Test Coverage
#form_div
  #basic_info_div
    = render :partial => "layouts/flash_msg"
    - url = url_for_only_path(:action => "ct_form_field_changed", :id => @edit[:rec_id])
    .form-horizontal
      .form-group
        %label.col-md-2.control-label
          = _('Service Dialog Name')
        .col-md-8
          = text_field_tag("dialog_name",
                           "",
                           :autocomplete => 'off',
                           :diabled => false,
                           :class => "form-control",
                           :maxlength => 255,
                           "data-miq_observe" => {:interval => '.5',
                                                  :url      => url}.to_json)
  - unless @explorer
    = render(:partial => '/layouts/edit_form_buttons',
      :locals         => {:record_id => @edit[:rec_id],
        :action_url          => 'service_dialog_from_ct_submit',
        :noreset             => true,
        :ajax_buttons        => true})