Sha256: cce3852bb9ab43d80b772e9d506754136454b036fd004a16ce5714a76659eccf

Contents?: true

Size: 296 Bytes

Versions: 5

Compression:

Stored size: 296 Bytes

Contents

#row {
  attrs:  "bgcolor" $color;
  logic: {
    $i = 0;
    foreach ($list as $item) {
      $color = ++$i % 2 == 0 ? '#FFCCCC' : '#CCCCFF';
      _elem();
    }
  }
}

#name {
  value:  $item['name'];
}

#mail {
  value:  $item['mail'];
}

#dummy1 {
  logic: { }   /* ignore this element */
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
kwartz-3.2.0 examples/table1/table1.php.plogic
kwartz-3.0.0 examples/table1/table1.php.plogic
kwartz-3.1.0 examples/table1/table1.php.plogic
kwartz-3.1.1 examples/table1/table1.php.plogic
kwartz-3.1.2 examples/table1/table1.php.plogic