I want to show or hide form fields based on whether or not a checkbox is checked. I have no idea where to begin to make this work with eex.
<%= form_for @changeset, @action, fn f -> %>
  <div class="form-group">
    <%= label f, :white_label, class: "control-label" %>
    <%= checkbox f, :white_label, class: "checkbox" %>
    <%= error_tag f, :white_label %>
  </div>
  <div class="form-group">
    <%= label f, :logo, class: "control-label" %>
    <%= text_input f, :logo, class: "form-control" %>
    <%= error_tag f, :logo %>
  </div>
  <div class="form-group">
    <%= label f, :color, class: "control-label" %>
    <%= text_input f, :color, class: "form-control" %>
    <%= error_tag f, :color %>
  </div>
<% end %>
 
    