Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (28 sloc) 1.06 KB
!= _csrf
!= partial('errors', { errors: team.errors })
.name
h3: label( for='name' ) Name
input( type='text', name='name', id='name', placeholder='Witty Team Name',
value=team.get('name') )
.members
h3 Member Emails (including yours)
.note We don’t spam.
input( name='peopleIds[]', type='hidden' )
ol#members
- if (typeof(people) === 'undefined') people = []
- each person in people
li
img.avatar( src=avatar_url(person) )
a( href='/people/' + person )= person.github.login
input( name='peopleIds[]', type='hidden', value=person.id )
|
a.scary.pull( href='#' ) ⨯
- for (var i = 0; i < 4 - people.length; i++)
li
input.email( type='email', name='emails[]', value=team.emails[i],
placeholder='member' + (people.length+i+1) + '@example.com' )
- if (!team.isNew)
p
h3: label( for='description' ) Description
textarea( name='description', id='description', placeholder="If you're looking for more members, advertise here." )= team.description
.note!= markdown_ok
Something went wrong with that request. Please try again.