x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<div class="buttons is-centered">
<button type="submit" class="button">
Yes
</button>
<button type="submit" class="button">
Maybe
</button>
<button type="submit" class="button">
No
</button>
</div>
<div class="buttons is-right">
<button type="submit" class="button">
Yes
</button>
<button type="submit" class="button">
Maybe
</button>
<button type="submit" class="button">
No
</button>
</div>
1
2
3
4
5
6
7
8
9
10
11
<%= bulma_buttons(align: :centered) do |c| %>
<% c.with_button('Yes') %>
<% c.with_button('Maybe') %>
<% c.with_button('No') %>
<% end %>
<%= bulma_buttons(align: :right) do |c| %>
<% c.with_button('Yes') %>
<% c.with_button('Maybe') %>
<% c.with_button('No') %>
<% end %>