My space on the web
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
701 B

<header class="hero">
<h1>Listing Links</h1>
<%= if @live_action in [:new, :edit] do %>
<%= live_modal @socket, MirageWeb.NoteLinkLive.FormComponent,
id: || :new,
title: @page_title,
action: @live_action,
note_link: @note_link,
return_to: Routes.note_link_index_path(@socket, :index) %>
<% end %>
<section class="bg-content width-full grid cards wrap">
<%= for note_link <- @notes_links do %>
<%= live_redirect to: Routes.note_link_show_path(@socket, :show, note_link), class: "col card", id: "note_link-#{}" do %>
<strong><%= note_link.title %></strong>
<p><%= note_link.url %></p>
<% end %>
<% end %>