Since it was difficult to understand the lead from the company details screen to the order list screen, I added a link to the list.
--Add a link to the order list screen to the last line of the company details list
--Add a link to the order list screen to the last line of the company details list
slim:app/views/orgs/show.html.slim
.mt-8.sm:mt-0.sm:grid.sm:grid-cols-3.sm:gap-4.sm:border-t.sm:border-gray-200.sm:px-6.sm:py-5
dt.text-sm.leading-5.font-medium.text-gray-500
|Order list
dd.mt-1.text-sm.leading-5.text-gray-900.sm:mt-0.sm:col-span-2
= link_to orders_ordering_org_sides_path, class: 'text-sm font-medium text-indigo-600 truncate hover:text-indigo-400' do
|Order list
-[] A link to the order list screen has been added to the last line of the company details list.
Recommended Posts