original_string: protected function renderTranslatedFields(array $locales, $value, $originalValue, array $errors)
      {
          // Render the inputs for all relevant locales
          $rendered = [];
  
          foreach ($locales as $locale) {
  
              $rendered[ $locale ] = $this->renderField(
                  $this->getValueForLocale($locale, $value),
                  $this->getValueForLocale($locale, $originalValue),
                  $this->getErrorsForLocale($locale, $errors),
                  $locale
              );
          }
  
          return view(static::FORM_FIELD_TRANSLATED_VIEW, [
              'field'          => $this->field,
              'locales'        => $locales,
              'value'          => $value,
              'errors'         => $errors,
              'localeRendered' => $rendered,
          ]);
      }
code: protected function renderTranslatedFields(array $locales, $value, $originalValue, array $errors)
      {
          // Render the inputs for all relevant locales
          $rendered = [];
  
          foreach ($locales as $locale) {
  
              $rendered[ $locale ] = $this->renderField(
                  $this->getValueForLocale($locale, $value),
                  $this->getValueForLocale($locale, $originalValue),
                  $this->getErrorsForLocale($locale, $errors),
                  $locale
              );
          }
  
          return view(static::FORM_FIELD_TRANSLATED_VIEW, [
              'field'          => $this->field,
              'locales'        => $locales,
              'value'          => $value,
              'errors'         => $errors,
              'localeRendered' => $rendered,
          ]);
      }
code_tokens: protected function renderTranslatedFields ( array $ locales , $ value , $ originalValue , array $ errors ) { // Render the inputs for all relevant locales $ rendered = [ ] ; foreach ( $ locales as $ locale ) { $ rendered [ $ locale ] = $ this -> renderField ( $ this -> getValueForLocale ( $ locale , $ value ) , $ this -> getValueForLocale ( $ locale , $ originalValue ) , $ this -> getErrorsForLocale ( $ locale , $ errors ) , $ locale ) ; } return view ( static :: FORM_FIELD_TRANSLATED_VIEW , [ 'field' => $ this -> field , 'locales' => $ locales , 'value' => $ value , 'errors' => $ errors , 'localeRendered' => $ rendered , ] ) ; }
docstring: Returns a rendered set of translated form fields.
  
  @param array $locales
  @param mixed $value
  @param mixed $originalValue
  @param array $errors
  @return string|View
docstring_tokens: Returns a rendered set of translated form fields .