private function AddWordingFields()
    {
        foreach ($this->Wordings() as $name) {
            $wording = $this->FindWording($name);
            $fieldName = $this->WordingFieldName($name);
            $field = Input::Text($fieldName, $wording ? $wording->GetText() : '');
            $field->SetHtmlAttribute('placeholder', Trans('Core.ContentForm.Wording.Placeholder'));
            $this->AddField($field);
        }
    }
private function AddWordingFields()
    {
        foreach ($this->Wordings() as $name) {
            $wording = $this->FindWording($name);
            $fieldName = $this->WordingFieldName($name);
            $field = Input::Text($fieldName, $wording ? $wording->GetText() : '');
            $field->SetHtmlAttribute('placeholder', Trans('Core.ContentForm.Wording.Placeholder'));
            $this->AddField($field);
        }
    }
private function AddWordingFields ( ) { foreach ( $ this -> Wordings ( ) as $ name ) { $ wording = $ this -> FindWording ( $ name ) ; $ fieldName = $ this -> WordingFieldName ( $ name ) ; $ field = Input :: Text ( $ fieldName , $ wording ? $ wording -> GetText ( ) : '' ) ; $ field -> SetHtmlAttribute ( 'placeholder' , Trans ( 'Core.ContentForm.Wording.Placeholder' ) ) ; $ this -> AddField ( $ field ) ; } }
Adds the wording fields
Adds the wording fields