 
 kd    = require 'kd'
-nick  = require 'app/util/nick'
 
 addTo = (parent, views)->
   map = {}


contents  =
  install : """#{kontrolUrl}
    $ curl -sSL s3.amazonaws.com/koding-klient/install.sh | bash -s %%TOKEN%% %%USERNAME%%
  """

module.exports   = view =

    content      = contents[content] ? content
    if view._otatoken
      content    = content.replace '%%TOKEN%%',    view._otatoken
    container    = new kd.View
    addTo container,
      header     : 'Instructions'
