Issue #83 - Project limit

This commit is contained in:
Valera Sizov 2011-10-09 11:15:01 -07:00
parent 9840102651
commit 67f0c62d07
13 changed files with 45 additions and 9 deletions

View file

@ -30,8 +30,8 @@
= f.check_box :admin
= f.label :admin
.field.prepend-top
= f.check_box :allowed_create_repo, :disabled => true
= f.label :allowed_create_repo
= f.text_field :projects_limit, :class => "small_input"
= f.label :projects_limit
.clear
%br
.actions

View file

@ -10,6 +10,9 @@
%p
%b Admin:
= @admin_user.admin
%p
%b Projects limit:
= @admin_user.projects_limit
.clear
= link_to 'Edit', edit_admin_user_path(@admin_user)