fixing table layout and show link on edit page