Update Vendored Erubis to 2.6.6
This commit is contained in:
parent
c18c2f988d
commit
39c2138f88
300 changed files with 207 additions and 171 deletions
14
vendor/plugins/erubis/test/data/users-guide/nocode-example.eruby
vendored
Normal file
14
vendor/plugins/erubis/test/data/users-guide/nocode-example.eruby
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
<h3>List</h3>
|
||||
<% if !@list || @list.empty? %>
|
||||
<p>not found.</p>
|
||||
<% else %>
|
||||
<table>
|
||||
<tbody>
|
||||
<% @list.each_with_index do |item, i| %>
|
||||
<tr bgcolor="<%= i%2 == 0 ? '#FFCCCC' : '#CCCCFF' %>">
|
||||
<td><%= item %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
</table>
|
||||
<% end %>
|
Loading…
Add table
Add a link
Reference in a new issue