Example #1
0
 public PlaylistListView(IEnumerable <ViewPlaylist> p)
     : base("Playlists",
            H1(Text("Playlist list")),
            Ul(
                p.Select(pl => Li(A(ResolveUri.For(pl), pl.Name))).ToArray()
                ),
            A(ResolveUri.ForPlaylistNew(), "New")
            )
 {
 }