<div class="row">
  <%= simple_form_for(@github_repository, url: admin_github_repository_path(@github_repository.id), html: { class: 'form-vertical col-md-6' }) do |form| %>
    <h2>
      Admin / <%= link_to @github_repository.full_name, github_repository_path(@github_repository.owner_name, @github_repository.project_name) %>
      <%= link_to fa_icon('github'), @github_repository.url, target: :blank %>
    </h2>

    <%= form.input :licenses, include_blank: true, selected: @github_repository.license, label: 'License', collection: Project.popular_licenses(:facet_limit => 100).map{|l| format_license(l.term) } %>

    <%= form.submit class: 'btn btn-primary' %>
  <% end %>
</div>

<div class="row">
  <%= simple_form_for(@github_repository, url: admin_github_repository_path(@github_repository.id), html: { class: 'form-vertical col-md-6' }) do |form| %>
    <h2>
      Admin / <%= link_to @github_repository.full_name, github_repository_path(@github_repository.owner_name, @github_repository.project_name) %>
      <%= link_to fa_icon('github'), @github_repository.url, target: :blank %>
    </h2>

    <%= form.input :license, include_blank: true, selected: @github_repository.license, label: 'License', collection: Project.popular_licenses(:facet_limit => 100).map{|l| format_license(l.term) } %>

    <%= form.submit class: 'btn btn-primary' %>
  <% end %>
</div>

Fix github repo license selects
Fix github repo license selects