@(curationObject: models.CurationObject, properties: Map[String, List[String]], userPreferences: Map[String,List[String]], mmResponse: List[models.MatchMakerResponse])(implicit user: Option[models.User] ) @main("Matchmaker") {
Edit Metadata > Select Repository > Submit to Repository
Edit Metadata

Select Repository

@spaces.curationSummary( curationObject, false)

Preferences

@for((prop, value) <- properties) {
@prop
@if(prop.equalsIgnoreCase("Purpose")) { } else { @for(cur<-value) { @if((userPreferences.contains(prop.replace(" ", "_")) && userPreferences(prop.replace(" ", "_")).contains(cur))) { @cur
} else { @cur
} } } }

Candidate Repositories

@if(mmResponse.size >0 ) { The results below are based on an analysis of the dataset's properties and metadata and the preferences you specified.
} else { There was an error calling Matchmaker or there were no match's returned
} Please select a repository
Edit Metadata
}