original_string: public function price($name, $options = [])
      {
          $options['addon'] = ['before' => isset($options['currency']) ? $options['currency'] : 'Rp'];
          $options['class'] = isset($options['class']) ? $options['class'].' text-right' : 'text-right';
  
          return $this->text($name, $options);
      }
code: public function price($name, $options = [])
      {
          $options['addon'] = ['before' => isset($options['currency']) ? $options['currency'] : 'Rp'];
          $options['class'] = isset($options['class']) ? $options['class'].' text-right' : 'text-right';
  
          return $this->text($name, $options);
      }
code_tokens: public function price ( $ name , $ options = [ ] ) { $ options [ 'addon' ] = [ 'before' => isset ( $ options [ 'currency' ] ) ? $ options [ 'currency' ] : 'Rp' ] ; $ options [ 'class' ] = isset ( $ options [ 'class' ] ) ? $ options [ 'class' ] . ' text-right' : 'text-right' ; return $ this -> text ( $ name , $ options ) ; }
docstring: Price input field that wrapped with form-group bootstrap div.
  
  @param  string  $name  The price field name and id attribute.
  @param  array  $options  Additional attribute for the price input.
  @return string  Generated price input form field.
docstring_tokens: Price input field that wrapped with form - group bootstrap div .