Skip to content

Instantly share code, notes, and snippets.

@ChVuagniaux
Created November 28, 2017 14:36
Show Gist options
  • Save ChVuagniaux/09a628cfc37ce673dc2fa451284a26c4 to your computer and use it in GitHub Desktop.
Save ChVuagniaux/09a628cfc37ce673dc2fa451284a26c4 to your computer and use it in GitHub Desktop.
Generic relation render for OctoberCMS forms
<?= $this->relationRender($field->fieldName, ['readOnly' => $formContext == 'preview']) ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment