fix edit gallery link on show entries template