Convert input rows to resumeInput directive
Split up Edit and Preview controllers