d02501e008
- @jorgemanrubia this is a little fragile because it relies on CSS `:empty` which fails if any whitespace is present, which is why I needed to make the `<ul>` a one-liner. If we like this we may want to implement something more robust
6 lines
277 B
Plaintext
6 lines
277 B
Plaintext
<%= turbo_frame_tag :recent_commands do %>
|
|
<ul class="terminal__menu flex-column txt-align-start margin-none margin-block-end unpad" aria-label="Recent commands"><%= render partial: "commands/command", collection: @commands %></ul>
|
|
|
|
<%= render "commands/help" %>
|
|
<% end %>
|