Skip to content

Instantly share code, notes, and snippets.

@BenjaminBeck
Created February 24, 2017 22:51
Show Gist options
  • Save BenjaminBeck/e12f6bf5d92455efa2814a68aa842156 to your computer and use it in GitHub Desktop.
Save BenjaminBeck/e12f6bf5d92455efa2814a68aa842156 to your computer and use it in GitHub Desktop.
FAL Image placeholder until first saving with display conditions
<flux:field.custom displayCond="REC:NEW:true" name="savehint">
<div class="alert alert-info" role="alert">
<h2>Bitte zuerst speichern.</h2>
<p>Danach können Bilder zugeordnet werden.</p>
</div>
</flux:field.custom>
<flux:field.inline.fal name="image" label="Bild" displayCond="FIELD:parentRec.uid:>:1" minItems="0" maxItems="1" collapseAll="true">
</flux:field.inline.fal>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment