<%= @context.slug %>

<.link :for={tag <- @context.tags} navigate={Routes.context_index_path(Endpoint, :search, tag)} class="link" > <%= tag %>
<.context_content context={@context} />

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

<.link class="btn btn-primary" navigate={Routes.context_index_path(@socket, :index)}> <%= dgettext("actions", "back") %> <.link :if={is_owner?(@context, @current_user)} class="btn btn-primary" patch={Routes.context_show_path(@socket, :edit, @context.slug)} > <%= dgettext("actions", "edit") %>
<.modal :if={@live_action == :edit} return_to={Routes.context_show_path(@socket, :show, @context.slug)} > <.live_component module={MemexWeb.ContextLive.FormComponent} id={@context.id} current_user={@current_user} title={@page_title} action={@live_action} context={@context} return_to={Routes.context_show_path(@socket, :show, @context.slug)} />