Copied to clipboard

Flag this post as spam?

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


  • Garret 55 posts 285 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?

Please Sign in or register to post replies

Write your reply to:

Draft