:css
  .panel-body-fixed {
    height: 300px;
    overflow: scroll;
  }
  .component_subform {
    width: 94%;
  }

  .subheader-label {
    border-bottom: 1px solid #e5e5e5;
  }

.subheader-label
  %h2 #{@asset.respond_to? :fta_asset_category ? @asset.fta_asset_category.name.singularize : @asset.asset_type.name.singularize} Profile

= render 'subheader'
.row
  .col-sm-12
    .panel.panel-default
      .panel-heading
        .row
          .col-sm-10
            %h3.panel-title
              Highlights
          .col-sm-2
            = render 'actions'
      .panel-body.panel-body-fixed
        = render 'details'        
.row
  .col-sm-12.col-md-2
    .panel.panel-default
      .panel-heading
        %h3.panel-title
          Asset Summary
      .panel-body
        = render :partial => 'summary', :locals => {:asset => @asset}

  .col-sm-12.col-md-10#profile
    .panel.panel-default
      .panel-heading
        %h3.panel-title
          Profile
      .panel-body
        = render 'profile'

.modal.fade#form-modal{:tabindex => -1, :role => 'dialog', :aria => {:hidden => true}}

=render 'show_scripts'
:css
  .panel-body-fixed {
    height: 300px;
    overflow: scroll;
  }
  .component_subform {
    width: 94%;
  }

  .subheader-label {
    border-bottom: 1px solid #e5e5e5;
  }

.subheader-label
  %h2 #{@asset.respond_to?(:fta_asset_category) ? @asset.fta_asset_category.name.singularize : @asset.asset_type.name.singularize} Profile

= render 'subheader'
.row
  .col-sm-12
    .panel.panel-default
      .panel-heading
        .row
          .col-sm-10
            %h3.panel-title
              Highlights
          .col-sm-2
            = render 'actions'
      .panel-body.panel-body-fixed
        = render 'details'        
.row
  .col-sm-12.col-md-2
    .panel.panel-default
      .panel-heading
        %h3.panel-title
          Asset Summary
      .panel-body
        = render :partial => 'summary', :locals => {:asset => @asset}

  .col-sm-12.col-md-10#profile
    .panel.panel-default
      .panel-heading
        %h3.panel-title
          Profile
      .panel-body
        = render 'profile'

.modal.fade#form-modal{:tabindex => -1, :role => 'dialog', :aria => {:hidden => true}}

=render 'show_scripts'
Fix syntax on fta_asset_category check.
[TTPLAT-591] Fix syntax on fta_asset_category check.
