Sha256: fac52a57cbde171398f483b72b7568b298a31b957e9179e63df4f2dd42f00fd1
Contents?: true
Size: 653 Bytes
Versions: 7
Compression:
Stored size: 653 Bytes
Contents
<html> <head> <meta charset="UTF-8"> </head> <body> <h1>This app is running on Safe Ruby protocol</h1> <div> <ul> <% @posts.each do |post| %> <li><%= "User<#{post.user_id}> #{post.body}" %></li> <% end %> </ul> </div> <div> <form action='/posts' method='post'> <div> <label>User ID</label> <input type="number" name="user_id"> </div> <div> <label>Content</label> <input type="text" name="body"> </div> <div> <input type="submit" value="Post"> </div> </form> </body> </html>
Version data entries
7 entries across 7 versions & 1 rubygems