Sha256: 03003cb029e4ce40a73ee3d7e88b10a48cd7bf2b79c850aab9a66488af7a775a

Contents?: true

Size: 378 Bytes

Versions: 214

Compression:

Stored size: 378 Bytes

Contents

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

Version data entries

214 entries across 188 versions & 44 rubygems

Version Path
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example.ejs
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/erubis-2.7.0/test/data/users-guide/example.ejs
brakeman-4.3.1 bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example.ejs
vagrant-unbundled-2.1.1.0 vendor/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example.ejs
brakeman-4.3.0 bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example.ejs
vagrant-unbundled-2.0.4.0 vendor/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example.ejs
vagrant-unbundled-2.0.3.0 vendor/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example.ejs
brakeman-4.2.1 bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example.ejs
brakeman-4.2.0 bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.ejs
vagrant-unbundled-2.0.2.0 vendor/bundle/ruby/2.4.0/gems/erubis-2.7.0/test/data/users-guide/example.ejs
vagrant-unbundled-2.0.2.0 vendor/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example.ejs
brakeman-4.1.1 bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.ejs
brakeman-4.1.0 bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.ejs
vagrant-unbundled-2.0.1.0 vendor/bundle/ruby/2.4.0/gems/erubis-2.7.0/test/data/users-guide/example.ejs
brakeman-4.0.1 bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.ejs
brakeman-4.0.1.pre1 bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.ejs
brakeman-4.0.0 bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.ejs
vagrant-unbundled-2.0.0.1 vendor/bundle/ruby/2.4.0/gems/erubis-2.7.0/test/data/users-guide/example.ejs
vagrant-unbundled-1.9.8.1 vendor/bundle/ruby/2.4.0/gems/erubis-2.7.0/test/data/users-guide/example.ejs
brakeman-3.7.2 bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.ejs