<%= @context.slug %>

<.link :for={tag <- @context.tags} navigate={~p"/contexts/#{tag}"} class="link"> <%= tag %>
<.context_content context={@context} />

<%= gettext("Visibility: %{visibility}", visibility: @context.visibility) %>

<.link :if={Contexts.is_owner?(@context, @current_user)} class="btn btn-primary" patch={~p"/context/#{@context}/edit"} > <%= dgettext("actions", "edit") %>
<.modal :if={@live_action == :edit} return_to={~p"/context/#{@context}"}> <.live_component module={MemexWeb.ContextLive.FormComponent} id={@context.id} current_user={@current_user} title={@page_title} action={@live_action} context={@context} return_to={~p"/context/#{@context}"} />