ManageIQ/manageiq-ui-classic

View on GitHub
app/views/miq_ae_customization/_dialog_info.html.haml

Summary

Maintainability
Test Coverage
-# if dialogs is selected
#info_div{:style => display}
  %h3
    = _('Basic Information')
  .form-horizontal
    .form-group
      %label.col-md-2.control-label
        = _('Label')
      .col-md-8
        = h(@record.label)
    .form-group
      %label.col-md-2.control-label
        = _('Description')
      .col-md-8
        %p.form-control-static
          = h(@record.description)
    .form-group
      %label.col-md-2.control-label
        = _('Created On')
      .col-md-8
        %p.form-control-static
          = h(format_timezone(@record.created_at, Time.zone, "gtl"))
    .form-group
      %label.col-md-2.control-label
        = _('Updated On')
      .col-md-8
        %p.form-control-static
          = h(format_timezone(@record.updated_at, Time.zone, "gtl"))