Hopefully last question, I have a repeatable region and just wondering if its possible that the last row of the repeatable region is under different div class to the rest

the non couch code is below of what I want to acheive

Code: Select all
<div class="row">
            <div class="col-lg-6">
                <div class="boxtexttwo">
                    <i class="fa fa-check green" aria-hidden="true"></i> Add value to your home
                </div>
            </div>
            <div class="col-lg-6">
                <div class="boxtexttwo">
                    <i class="fa fa-check green" aria-hidden="true"></i> Extend your living area
                </div>
            </div>
        </div>
     
      <div class="row">
            <div class="col-lg-6">
                <div class="boxtexttwo">
                    <i class="fa fa-check green" aria-hidden="true"></i> Hard wearing &amp; durable
                </div>
            </div>
            <div class="col-lg-6">
                <div class="boxtexttwo">
                    <i class="fa fa-check green" aria-hidden="true"></i> Easy to maintain &amp; clean
                </div>
            </div>
        </div>
     
      <div class="row">
            <div class="col-lg-12">
                <div class="boxtexttwo">
                    <i class="fa fa-check green" aria-hidden="true"></i> Ideal for alfresco dining, family time or simply relaxing
                </div>
            </div>
        </div>
     
      <div class="row">
            <div class="col-lg-12">
                <div class="boxtexttwo">
                    <i class="fa fa-check green" aria-hidden="true"></i> Constructed using the highest quality materials which are guaranteed to last
                </div>
            </div>
        </div>


I got the repeatable region working but the last row is the same as the other div classes as per the following code but unsure how to make the last row in
Code: Select all
<div class="col-lg-12>


Code: Select all
<cms:show_repeatable 'natural_benefits_icons'>
              <cms:set my_count="<cms:zebra '1' '2' />" />
                  <cms:if my_count='1'>
                      <div class="row">
                  </cms:if>
                            <div class="col-lg-6">
                                <div class="boxtexttwo">
                                    <i class="fa fa-<cms:show natural_benefit_icon/> green" aria-hidden="true"></i> <cms:show natural_benefit_text/>
                                </div>
                            </div>
                      <cms:if k_count='5'>
                      <div class="col-lg-6">&nbsp;</div>
                      </cms:if>
                      <cms:if my_count='2' || k_count=k_total_records>
                      </div>
                      </cms:if>
          </cms:show_repeatable>


UPDATE: Sorry just sussed it using
Code: Select all
<cms zebra>
coding, seems to work, be good to know if any other way to do it or is it the best way?

Code: Select all
<cms:show_repeatable 'natural_benefits_icons'>
              <cms:set my_count="<cms:zebra '1' '2' />" />
                  <cms:if my_count='1'>
                      <div class="row">
                  </cms:if>
                            <div class="<cms:zebra 'col-lg-6' 'col-lg-6' 'col-lg-6' 'col-lg-6' 'col-lg-6' 'col-lg-12' />">
                                <div class="boxtexttwo">
                                    <i class="fa fa-<cms:show natural_benefit_icon/> green" aria-hidden="true"></i> <cms:show natural_benefit_text/>
                                </div>
                            </div>
                      <cms:if k_count='5'>
                      <div class="col-lg-6">&nbsp;</div>
                      </cms:if>
                      <cms:if my_count='2' || k_count=k_total_records>
                      </div>
                      </cms:if>
          </cms:show_repeatable>