Link Row
Samples
Basic
1.2ms
259 allocs
Login Page
View Source
<%= render "shared/link_row", path: new_user_session_path do |link_row| %>
<% link_row.body "Login Page" %>
<% end %>
Without body
0.4ms
86 allocs
View Source
<%= render "shared/link_row", path: new_user_session_path %>
Options
Name | Required | Type | Default | Description |
---|---|---|---|---|
path |
String |
Valid url path |
||
body |
Content Block |