Sha256: 8bcfb86723ee367e091a48669b5bd35d0a6d7c2f801fb2bf379540680982a754

Contents?: true

Size: 336 Bytes

Versions: 216

Compression:

Stored size: 336 Bytes

Contents

<?js
   var user = 'Erubis';
   var list = ['<aaa>', 'b&b', '"ccc"'];
 ?>
<p>Hello @{user}@!</p>
<table>
  <tbody>
    <?js var i; ?>
    <?js for (i = 0; i < list.length; i++) { ?>
    <tr bgcolor="@{i % 2 == 0 ? '#FFCCCC' : '#CCCCFF'}@">
      <td>@{i + 1}@</td>
      <td>@{list[i]}@</td>
    </tr>
    <?js } ?>
  </tbody>
</table>

Version data entries

216 entries across 190 versions & 44 rubygems

Version Path
vagrant-unbundled-2.2.10.0 vendor/bundle/ruby/2.7.0/gems/erubis-2.7.0/examples/pi/example.ejs
vagrant-unbundled-2.2.9.0 vendor/bundle/ruby/2.7.0/gems/erubis-2.7.0/examples/pi/example.ejs
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/pi/example.ejs
vagrant-unbundled-2.2.8.0 vendor/bundle/ruby/2.7.0/gems/erubis-2.7.0/examples/pi/example.ejs
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.6.0/gems/erubis-2.7.0/examples/pi/example.ejs
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.7.0/gems/erubis-2.7.0/examples/pi/example.ejs
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.4.0/gems/erubis-2.7.0/examples/pi/example.ejs
vagrant-unbundled-2.2.6.2 vendor/bundle/ruby/2.6.0/gems/erubis-2.7.0/examples/pi/example.ejs
vagrant-unbundled-2.2.6.1 vendor/bundle/ruby/2.6.0/gems/erubis-2.7.0/examples/pi/example.ejs
vagrant-unbundled-2.2.6.0 vendor/bundle/ruby/2.6.0/gems/erubis-2.7.0/examples/pi/example.ejs
vagrant-unbundled-2.2.5.0 vendor/bundle/ruby/2.6.0/gems/erubis-2.7.0/examples/pi/example.ejs
vagrant-unbundled-2.2.5.0 vendor/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/pi/example.ejs
vagrant-unbundled-2.2.4.0 vendor/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/pi/example.ejs
vagrant-unbundled-2.2.4.0 vendor/bundle/ruby/2.6.0/gems/erubis-2.7.0/examples/pi/example.ejs
vagrant-unbundled-2.2.3.0 vendor/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/pi/example.ejs
vagrant-unbundled-2.2.2.0 vendor/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/pi/example.ejs
vagrant-unbundled-2.2.0.0 vendor/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/pi/example.ejs
vagrant-unbundled-2.1.4.0 vendor/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/pi/example.ejs
vagrant-unbundled-2.1.2.0 vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/pi/example.ejs
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/pi/example.ejs