Import repo feature

This commit is contained in:
Dmitriy Zaporozhets 2013-02-11 23:00:12 +02:00
parent ab0cfc0036
commit 8bf8c70c4b
5 changed files with 40 additions and 5 deletions

View file

@ -16,6 +16,20 @@
.input
= f.select :namespace_id, namespaces_options(params[:namespace_id] || :current_user), {}, {class: 'chosen'}
.clearfix
.input
= link_to "#", class: 'appear-link' do
%i.icon-upload-alt
%span Import existing repository?
.clearfix.appear-data
= f.label :import_url do
%span Import existing repo
.input
= f.text_field :import_url, class: 'xlarge'
.light
URL should be clonable
%p.padded
New projects are private by default. You choose who can see the project and commit to repository.
%hr