Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Garret 69 posts 309 karma points
    May 27, 2020 @ 12:25
    Garret
    0

    Nested Content template options

    I'm using nested content to create answers under a question

    e.g Question: Do you like Umbraco? Answer:

    1. Yes - Correct
    2. No - Incorrect

    I'm using the template option of nested content to show Answer (yes/no) instead of Item1 and show if it's the correct answer by using the following code:

    {{ text }} Correct? {{correcteanswer == 1 ? 'Yes' :'No' }}
    

    But I can't find any documentation or examples on how to make this look a bit better than this enter image description here

    for example: add some space so I can align it a bit like columns in a table or replace yes with a green checkmark and no with a red cross.

    Can anyone give or point me to an example which elaborates a bit more on the options?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies