Created edit template action and view