original_string: protected function backup_detail_input($label, $type, $name, $value, array $attributes = array(), $description = null) {
          if (!empty($description)) {
              $description = html_writer::tag('span', $description, array('class' => 'description'));
          } else {
              $description = '';
          }
          return $this->backup_detail_pair(
              $label,
              html_writer::empty_tag('input', $attributes + array('name' => $name, 'type' => $type, 'value' => $value)) . $description
          );
      }
code: protected function backup_detail_input($label, $type, $name, $value, array $attributes = array(), $description = null) {
          if (!empty($description)) {
              $description = html_writer::tag('span', $description, array('class' => 'description'));
          } else {
              $description = '';
          }
          return $this->backup_detail_pair(
              $label,
              html_writer::empty_tag('input', $attributes + array('name' => $name, 'type' => $type, 'value' => $value)) . $description
          );
      }
code_tokens: protected function backup_detail_input ( $ label , $ type , $ name , $ value , array $ attributes = array ( ) , $ description = null ) { if ( ! empty ( $ description ) ) { $ description = html_writer :: tag ( 'span' , $ description , array ( 'class' => 'description' ) ) ; } else { $ description = '' ; } return $ this -> backup_detail_pair ( $ label , html_writer :: empty_tag ( 'input' , $ attributes + array ( 'name' => $ name , 'type' => $ type , 'value' => $ value ) ) . $ description ) ; }
docstring: Created a detailed pairing with an input
  
  @param string $label
  @param string $type
  @param string $name
  @param string $value
  @param array $attributes
  @param string|null $description
  @return string
docstring_tokens: Created a detailed pairing with an input