https://github.com/yuler/explore-hotrails
https://github.com/yuler/explore-hotrails
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/yuler/explore-hotrails
- Owner: yuler
- Created: 2025-09-19T10:15:20.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-09-19T10:16:09.000Z (9 months ago)
- Last Synced: 2025-09-21T05:50:59.783Z (9 months ago)
- Language: Ruby
- Size: 115 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# explore-hotrails
> This repo is practice for https://www.hotrails.dev/ tutorial
```erb
<%= form_with model: quote, html: { class: "quote form" } do |f| %>
<% if quote.errors.any? %>
<% end %>
<%= f.label :name %>
<%= f.text_field :name, autofocus: true, class: "form-control" %>
<%= f.submit class: "btn btn--secondary" %>
<% end %>
```