Edit

kmx.io/kmxgit/lib/kmxgit_web/templates/repository/show_branch.html.heex

Branch :

  • lib/kmxgit_web/templates/repository/show_branch.html.heex
  • <%= if @tree do %>
      <%= if tree = Enum.find(@git.trees, fn {_, name, _} -> name == @tree end) do %>
        <p>
          <%= tree_type(tree) %>
          <%= select :repository, :tree, select_trees(@git.trees), selected: @tree_url, class: "tree" %>
        </p>
      <% end %>
    <% end %>