Add if statement to articles in activeadmin