#main_div
  = "Hello Button Group"
  = @record.name


#main_div
  - if @record && @record.kind_of?(CustomButtonSet)
    -# don't need basic info box for Unassigned button group
    %h3
      = _('Basic Information')
    .form-horizontal.static
      .form-group
        %label.control-label.col-md-2
          = _('Text')
        .col-md-8
          = @record.name.split('|').first
          - display = @record.set_data.key?(:display) ? @record.set_data[:display] : true
          &nbsp;
          .checkbox-inline
            %label{:style => "font-weight: normal"}
              = check_box_tag(display, true, display, :disabled => true)
              = _('Display on Button')

      .form-group
        %label.control-label.col-md-2
          = _('Hover Text')
        .col-md-8
          = @record.description
      .form-group
        %label.control-label.col-md-2
          = _('Image')
        .col-md-8
          %span{:class => @record.set_data[:button_icon], :style => @record.set_data.key?(:button_color) ? "color: #{@record.set_data[:button_color]};" : nil}
    

Add Summary screen for Custom Button Group
Add Summary screen for Custom Button Group
