original_string: public function configure($model, $name)
      {
          return $this->form->of("orchestra.extension: {$name}", function (FormGrid $form) use ($model, $name) {
              $form->setup($this, "orchestra::extensions/{$name}/configure", $model);
  
              $handles = data_get($model, 'handles', $this->extension->option($name, 'handles'));
              $configurable = data_get($model, 'configurable', true);
  
              if (! is_null($handles) && $configurable !== false) {
                  $form->fieldset(function (Fieldset $fieldset) use ($handles) {
                      // We should only cater for custom URL handles for a route.
                      $fieldset->control('input:text', 'handles')
                          ->label(trans('orchestra/foundation::label.extensions.handles'))
                          ->value(str_replace(['{{domain}}', '{domain}'], '{domain}', $handles));
                  });
              }
          });
      }
code: public function configure($model, $name)
      {
          return $this->form->of("orchestra.extension: {$name}", function (FormGrid $form) use ($model, $name) {
              $form->setup($this, "orchestra::extensions/{$name}/configure", $model);
  
              $handles = data_get($model, 'handles', $this->extension->option($name, 'handles'));
              $configurable = data_get($model, 'configurable', true);
  
              if (! is_null($handles) && $configurable !== false) {
                  $form->fieldset(function (Fieldset $fieldset) use ($handles) {
                      // We should only cater for custom URL handles for a route.
                      $fieldset->control('input:text', 'handles')
                          ->label(trans('orchestra/foundation::label.extensions.handles'))
                          ->value(str_replace(['{{domain}}', '{domain}'], '{domain}', $handles));
                  });
              }
          });
      }
code_tokens: public function configure ( $ model , $ name ) { return $ this -> form -> of ( "orchestra.extension: {$name}" , function ( FormGrid $ form ) use ( $ model , $ name ) { $ form -> setup ( $ this , "orchestra::extensions/{$name}/configure" , $ model ) ; $ handles = data_get ( $ model , 'handles' , $ this -> extension -> option ( $ name , 'handles' ) ) ; $ configurable = data_get ( $ model , 'configurable' , true ) ; if ( ! is_null ( $ handles ) && $ configurable !== false ) { $ form -> fieldset ( function ( Fieldset $ fieldset ) use ( $ handles ) { // We should only cater for custom URL handles for a route. $ fieldset -> control ( 'input:text' , 'handles' ) -> label ( trans ( 'orchestra/foundation::label.extensions.handles' ) ) -> value ( str_replace ( [ '{{domain}}' , '{domain}' ] , '{domain}' , $ handles ) ) ; } ) ; } } ) ; }
docstring: Form View Generator for Orchestra\Extension.
  
  @param  \Illuminate\Support\Fluent  $model
  @param  string  $name
  
  @return \Orchestra\Contracts\Html\Form\Builder
docstring_tokens: Form View Generator for Orchestra \ Extension .