basely completed

simply trans the front html to erb