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-compose-yaml-0.1.2 vendor/bundle/ruby/2.2.0/gems/erubis-2.7.0/examples/pi/example.ejs
vagrant-compose-yaml-0.1.1 vendor/bundle/ruby/2.2.0/gems/erubis-2.7.0/examples/pi/example.ejs
vagrant-compose-yaml-0.1.0 vendor/bundle/ruby/2.2.0/gems/erubis-2.7.0/examples/pi/example.ejs
brakeman-3.4.0 bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/pi/example.ejs
brakeman-3.3.5 bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/pi/example.ejs
brakeman-3.3.4 bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/pi/example.ejs
vagrant-unbundled-1.8.5.2 vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/pi/example.ejs
vagrant-unbundled-1.8.5.1 vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/pi/example.ejs
brakeman-3.3.3 bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/pi/example.ejs
vagrant-unbundled-1.8.4.2 vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/pi/example.ejs
vagrant-unbundled-1.8.4.1 vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/pi/example.ejs
brakeman-3.3.2 bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/pi/example.ejs
brakeman-3.3.1 bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/pi/example.ejs
brakeman-3.3.0 bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/pi/example.ejs
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/pi/example.ejs
erubis-bmp-2.7.0.bmp examples/pi/example.ejs
angular-rails4-templates-0.4.1 vendor/ruby/2.1.0/gems/erubis-2.7.0/examples/pi/example.ejs
vagrant-unbundled-1.8.1.1 vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/pi/example.ejs
angular-rails4-templates-0.4.0 vendor/ruby/2.1.0/gems/erubis-2.7.0/examples/pi/example.ejs
angular-rails4-templates-0.3.0 vendor/ruby/2.1.0/gems/erubis-2.7.0/examples/pi/example.ejs