JC: change subaction to 'simple_contract' in log in show view. Added @erb_code to controller. spe passes.