diff --git a/app/helpers/dashboard_helper.rb b/app/helpers/dashboard_helper.rb index e87bd46..75a845b 100644 --- a/app/helpers/dashboard_helper.rb +++ b/app/helpers/dashboard_helper.rb @@ -15,7 +15,7 @@ def sort_link_to(name, column) status: params[:status], search: params[:search] ), - class: "group inline-flex items-center px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider", + class: "group inline-flex items-center py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider", data: { turbo_frame: "generated_apps_list" } ) do concat name diff --git a/app/views/dashboard/show.html.erb b/app/views/dashboard/show.html.erb index 0d1b77a..f367e23 100644 --- a/app/views/dashboard/show.html.erb +++ b/app/views/dashboard/show.html.erb @@ -2,53 +2,71 @@ <%= turbo_stream_from [ :notification_badge, current_user.id ] %>
- What will you build today? -
-+ What will you build today? +
+<%= sort_link_to "Name", :name %> | -<%= sort_link_to "Status", :status %> | -<%= sort_link_to "Created", :created_at %> | -Actions | -
---|
+ <%= sort_link_to "Name", :name %> + | ++ <%= sort_link_to "Status", :status %> + | ++ <%= sort_link_to "Created", :created_at %> + | ++ |
---|