original_string: public function submitButton()
      {
          if (self::MODE_VIEW === $this->mode) {
              return '';
          }
  
          if (!$this->options['enableSubmit']) {
              return '';
          }
  
          if (self::MODE_EDIT === $this->mode) {
              $text = trans('admin.save');
          } else {
              $text = trans('admin.submit');
          }
  
          return <<<EOT
  <div class="btn-group pull-right">
      <button type="submit" class="btn btn-info pull-right" data-loading-text="<i class='fa fa-spinner fa-spin '></i> $text">$text</button>
  </div>
  EOT;
      }
code: public function submitButton()
      {
          if (self::MODE_VIEW === $this->mode) {
              return '';
          }
  
          if (!$this->options['enableSubmit']) {
              return '';
          }
  
          if (self::MODE_EDIT === $this->mode) {
              $text = trans('admin.save');
          } else {
              $text = trans('admin.submit');
          }
  
          return <<<EOT
  <div class="btn-group pull-right">
      <button type="submit" class="btn btn-info pull-right" data-loading-text="<i class='fa fa-spinner fa-spin '></i> $text">$text</button>
  </div>
  EOT;
      }
code_tokens: public function submitButton ( ) { if ( self :: MODE_VIEW === $ this -> mode ) { return '' ; } if ( ! $ this -> options [ 'enableSubmit' ] ) { return '' ; } if ( self :: MODE_EDIT === $ this -> mode ) { $ text = trans ( 'admin.save' ) ; } else { $ text = trans ( 'admin.submit' ) ; } return  <<<EOT
  <div class="btn-group pull-right">
      <button type="submit" class="btn btn-info pull-right" data-loading-text="<i class='fa fa-spinner fa-spin '></i> $text">$text</button>
  </div>
  EOT ; }
docstring: Submit button of form..
  
  @return string
docstring_tokens: Submit button of form ..