Copied to clipboard

Flag this post as spam?

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


  • Phil Saint-Gold 5 posts 85 karma points
    May 14, 2019 @ 15:55
    Phil Saint-Gold
    0

    Repeatable HTML blocks

    Hi guys, I use Bootstrap v4 as a web framework, and I would display a HTML component in the backoffice that can be added or deleted dynamically. For example, generate a card

    <div class="card" style="width: 18rem;">
      <img src="..." class="card-img-top" alt="...">
        <div class="card-body">
             <h5 class="card-title">Card title</h5>
             <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
              <a href="#" class="btn btn-primary">
                   @Umbraco.Field("...")
              </a>
         </div>
      </div>
    

    or any other component.

    It can be done?

    Thanks in advance

    Phil

  • Søren Kottal 712 posts 4570 karma points MVP 6x c-trib
    May 15, 2019 @ 06:28
  • Phil Saint-Gold 5 posts 85 karma points
    May 16, 2019 @ 12:20
    Phil Saint-Gold
    0

    Hi Søren,

    thank you so much, your answer solves the problem!

    Cheers,

    Phil

  • Claushingebjerg 939 posts 2574 karma points
    May 16, 2019 @ 12:24
    Claushingebjerg
    1

    Take a look at "stacked content" as well. Its more visual than nested Content.

Please Sign in or register to post replies

Write your reply to:

Draft