troubleshooting Question

Anyone can help me to change the following  tpl code into twig code ???

Avatar of Hamdan Shafiq
Hamdan ShafiqFlag for Pakistan asked on
* TwigPHP
3 Comments1 Solution66 ViewsLast Modified:
<div class="form-group">
            <label class="col-sm-2 control-label"><?php echo $entry_allowed_domestic_methods; ?></label>
            <div class="col-sm-4">
              <div class="well well-sm" style="height: 150px; overflow: auto;">
                <?php foreach ($allowed_domestic_methods as $key=>$dservice) { ?>
                <div class="checkbox">
                  <label>
                    <?php if (in_array($dservice['value'], $aramex_allowed_domestic_methods)) { ?>
                    <input type="checkbox" name="aramex_allowed_domestic_methods[]" value="<?php echo $dservice['value']; ?>" checked="checked" />
                    <?php echo $dservice['label']; ?>
                    <?php } else { ?>
                    <input type="checkbox" name="aramex_allowed_domestic_methods[]" value="<?php echo $dservice['value']; ?>" />
                    <?php echo $dservice['label']; ?>
                    <?php } ?>
                  </label>
                </div>
                <?php } ?>
              </div>
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros