protected function getFormFieldName($locale = null)
    {
        if ( ! $locale) {
            return $this->field->key();
        }

        return $this->field->key() . '[' . $locale . ']';
    }
protected function getFormFieldName($locale = null)
    {
        if ( ! $locale) {
            return $this->field->key();
        }

        return $this->field->key() . '[' . $locale . ']';
    }
protected function getFormFieldName ( $ locale = null ) { if ( ! $ locale ) { return $ this -> field -> key ( ) ; } return $ this -> field -> key ( ) . '[' . $ locale . ']' ; }
Returns name for the form field input tag.

@param null|string $locale
@return string
Returns name for the form field input tag .