def pos_to_border_format(text):
    """Returns valid Bootstrap classes to label a ballot position border."""
    return {
        'Yes':          'border-yes',
        'No Objection': 'border-noobj',
        'Abstain':      'border-abstain',
        'Discuss':      'border-discuss',
        'Block':        'border-discuss',
        'Recuse':       'border-recuse',
        'Not Ready':    'border-discuss',
        'Need More Time': 'border-discuss',
    }.get(str(text), 'border-norecord')