Basic feature implemented, very basic poc

This commit is contained in:
David Schärer 2024-07-16 20:22:59 +02:00
parent 216089a3e7
commit 48c0067076
118 changed files with 2113 additions and 20 deletions

View file

@ -0,0 +1,8 @@
<h1><%%= t("scaffold.pagetitle_edit", model: <%= class_name %>.model_name.human) %></h1>
<%%= render "form", <%= singular_table_name %>: @<%= singular_table_name %> %>
<div class="action-row">
<%%= link_to t("scaffold.link_show", model: <%= class_name %>.model_name.human), <%= model_resource_name(prefix: "@") %> %>
<%%= link_to t("scaffold.link_index", model: <%= class_name %>.model_name.human(count: 2)), <%= index_helper(type: :path) %> %>
</div>