2016-07-14 29 views
0

覆蓋風格我有這個simple_form如何simple_form

 = f.association :offence_categories, collection: OffenceCategory.where(prefix: ''), as: :check_boxes, wrapper_html: {class: 'buttons buttons-offence_categories'}, label: '' 

它的輸出標籤前一顆子彈由於check_boxes類

enter image description here

&::before 
    content: '' 
    width: 8px 
    height: 8px 
    border: 2px solid #999 
    display: block 
    float: left 
    position: absolute 
    top: 12px 
    left: 10px 
    +border-radius(8px) 

我不想創建另一個班級來改變這一點。我想在表格中進行本地樣式更改以刪除%之前

有誰知道該怎麼做?

回答

0

對不起,問題不是一種真正的風格。子彈只是意味着它是必需的。我剛剛加了required: false,子彈不見了。