Custom Form Checkboxes

<%= form.collection_check_boxes :tag_ids, Tag.order(:name), :id, :name %>
collection checkboxes with block
<%= tag.label class: "custom checkbox" do %>
CSS for removing checkboxes
<span class="checkmark"><%= tag.text %></span>
CSS Opacity Change
Selected Checkboxes
Final Form Checkboxes

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Beyond Basic RxJava Error Handling

Alibaba Cloud Toolkit

Notes about Logstash and fluentd

LIST OF CUSTOMARY COURTS IN ENUGU STATE.. NIGERIA. AFRICA.

Creating the simplest possible API with Symfony 4 and Docker

What the heck are OAuth and JWT?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Julian Rosenthal

Julian Rosenthal

More from Medium

Multi-page print preview in React using html-to-image and some CSS

Our journey from Rails to React, part 1: Atomic Design (ubiquitous language in the frontend)

A dog in a lab doing some science experiments

Introducing Slot Template Support for Syncfusion Vue Components

Introducing Slot Template Support for Syncfusion Vue Components

5 interview questions for Vue.js developers