public
Description: Gitorious aims to provide a great way of doing distributed opensource code collaboration.
Homepage: http://gitorious.org/projects/gitorious
Clone URL: git://github.com/dysinger/gitorious.git
Search Repo:
Johan Sørensen (author)
Sun Apr 27 14:12:41 -0700 2008
commit  311210962d6f212d17f1149da843d0afab0c6d74
tree    e5db329019840918a1bbf8f80b6255b1b645d8f0
parent  ceafcfd952a8eda7ac13b50743c03690110f44b5
gitorious / app / views / committers / new.html.erb
100644 41 lines (36 sloc) 0.954 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<h1>
  Give a user commit rights to <%= h(@repository.name) -%>
</h1>
<style>
  li.committer {
    height: 32px;
  }
  
  li.committer div.image {
    float: left;
    width: 32px;
    height: 32px;
    margin-right: 8px;
  }
  
  li.committer div.name {
    font-weight: bold
    font-size: 12px;
    line-height: 1.2em;
  }
  
  li.committer div.email {
    font-size: 10px;
    color:#888;
  }
</style>
<% form_for @committer,
  :url => {:controller => "committers", :action => "create"}, :method => :post do |f| -%>
  <p>
    <%= f.label :login, "Existing username <small>(search-as-you-type)</small>" -%><br />
    <%= text_field_with_auto_complete :user, :login, {}, :skip_style => true, :select => :login -%>
  </p>
  <p>
    <%= f.submit "Add as committer" -%> or <%= link_to "cancel", [@repository.project, @repository] -%>
  </p>
<% end -%>
 
<% content_for :submenu do -%>
  <%= render :partial => "repositories/context_menu" -%>
<% end -%>