Skip to content

Commit 55a8d7e

Browse files
committed
Add more example files
1 parent c504a00 commit 55a8d7e

File tree

6 files changed

+16
-1
lines changed

6 files changed

+16
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<div id=""></div>

‎examples/comment.html.erb‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!-- Hello World -->

‎examples/erb.html.erb‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<div>
2+
<h1 class="<%= classes %>">
3+
<%= title %>
4+
</h1>
5+
</div>

‎examples/if_else.html.erb‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<h1>
2+
<% if true %>
3+
<div>Text1</div>
4+
<% else %>
5+
<div>Text2</div>
6+
<% end %>
7+
</h1>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<% title %>

‎examples/test.html.erb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<input required />
22

33
<h1 class="bg-gray-300 text-gray" id='' data-controller="example">
4-
Hello World
4+
Hello World <%= RUBY_VERSION %>
55
</h1>

0 commit comments

Comments
 (0)