     @tagController.setDefaultValue tags or []
 
     fillForm = =>
-      # @title.setValue Encoder.htmlDecode title
-      # @description.setValue Encoder.htmlDecode body
       @HTMLace.setContents Encoder.htmlDecode HTMLcontent
       @CSSace.setContents Encoder.htmlDecode CSScontent
       @JSace.setContents Encoder.htmlDecode JScontent
+
+      if prefixCSS is "on"
+        @$("input[name=prefixCSSCheck]").prop "checked", true
+      else
+        @$("input[name=prefixCSSCheck]").prop "checked", false
+
+      if modernizeJS is "on"
+        @$("input[name=modernizeJSCheck]").prop "checked", true
+      else
+        @$("input[name=modernizeJSCheck]").prop "checked", false
+
+      @$(":radio[value=#{resetsCSS}]").prop "checked", true
+
+      @$("select[name=modeHTML]").val(modeHTML).trigger "change"
+      @$("select[name=modeCSS]").val(modeCSS).trigger "change"
+      @$("select[name=modeJS]").val(modeJS).trigger "change"
+
+      @$("select[name=libsJS]").val(libsJS).trigger "change"
+
+      @$("input[name=classesHTML]").val(classesHTML)
+      @$("input[name=extrasHTML]").val(extrasHTML)
+      @$("input[name=externalCSS]").val(externalCSS)
+      @$("input[name=externalJS]").val(externalJS)
 
     if @HTMLace?.editor? and @CSSace?.editor? and @JSace?.editor?
       fillForm()

      @$("input[name=externalCSS]").val(externalCSS)
      @$("input[name=externalJS]").val(externalJS)





    if @HTMLace?.editor? and @CSSace?.editor? and @JSace?.editor?
      fillForm()
    else


  switchToForkView:(activity)->
    @submitBtn.setTitle "Fork this Code Share"

    {title, body, tags, prefixCSS, resetsCSS, classesHTML, extrasHTML, modeHTML, modeCSS, modeJS, libsJS, externalCSS, externalJS, modernizeJS} = activity

    HTMLcontent = activity.attachments[0]?.content
    CSScontent = activity.attachments[1]?.content
