Forum

Thread tagged as: Problem, Api

Block with repeater

can I have a <perch:block> with <perch:repeater> inside

as I find it does not work

tony

    <perch:block type="Service Title Prices" label="Service Title subTitle Prices" >
            <section class="container product-top-1x padding-bottom maxWidth">
                <div class="productTitle fontBold padBottom" ><perch:content id="serviceTitle2" label="Title" type="text" /></div>
                <div class="row">
                    <div class="col-xs-12 productCol1of2 subTitle"><perch:content id="serviceSubTitle2" label="Sub-Title" type="text" /></div>
                </div>
                <perch:repeater id="servicePrices2" label="Service Price list">
                    <div class="row">
                        <div class="col-xs-6"><perch:content id="serviceLevel5" label="Service Level" type="text" /></div>
                        <div class="col-xs-6 productTextRight"><perch:content id="servicePrice5" label="Service Price" type="text" /></div>
                    </div>
                </perch:repeater>
                <div class="row">
                    <div class="col-xs-12 lineSpace"></div>
                </div>
            </section>
    </perch:block>
Tony Monckton

Tony Monckton 0 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

You can, yes. What's not working?

Hi Drew,

the issue I solved. I was missing two </div>

it works a dream, and certainly makes entry for services clean and easy for the user.

many thanks for making an amazing CMS

tony