Links, mainly...
This commit is contained in:
parent
fd42a3f173
commit
21ab02d647
69 changed files with 2258 additions and 155 deletions
8
app/views/links/show.html.erb
Normal file
8
app/views/links/show.html.erb
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<h1><%= t("scaffold.pagetitle_show", model: @link.class.model_name.human) %></h1>
|
||||
<%= render @link %>
|
||||
|
||||
<div class="action-row">
|
||||
<%= link_to t("scaffold.link_edit", model: @link.model_name.human), edit_link_path(@link) %>
|
||||
<%= link_to t("scaffold.link_index", model: @link.model_name.human(count: 2)), links_path %>
|
||||
<%= button_to t("scaffold.link_destroy", model: @link.model_name.human), @link, method: :delete, class: "btn btn-outline-danger" %>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue