include onclick attribute in block_link