@(collaborators: List[String], milestones: List[model.Milestone], labels: List[model.Label], hasWritePermission: Boolean, repository: service.RepositoryService.RepositoryInfo)(implicit context: app.Context) @import context._ @import view.helpers._ @html.main("New Issue - " + repository.owner + "/" + repository.name){ @html.header("issues", repository) @tab("", repository)
No one is assigned @if(hasWritePermission){ @helper.html.dropdown {
- Clear assignee
@collaborators.map { collaborator =>
- @collaborator
} } }
No milestone @if(hasWritePermission){ @helper.html.dropdown {
- No milestone
@milestones.map { milestone =>
- @milestone.title
} } }

@helper.html.preview(repository, "", false, true, true, "width: 650px; height: 200px;")
@if(hasWritePermission){ Add Labels
}
}