Skip to content

Instantly share code, notes, and snippets.

View jcoyne's full-sized avatar

Justin Coyne jcoyne

  • Stanford University Libraries
  • Minneapolis, MN
View GitHub Profile
@jcoyne
jcoyne / 01_declaring_controller.html
Last active October 22, 2019 19:26 — forked from noelrappin/01_declaring_controller.html
Copy paste parts from Stimulus Workshop
# app/views/schedule/index.html.erb:29-30
<section class="day-body"
id="day-body-<%= schedule_day.day.by_example("2006-01-02") %>"
data-controller="toggle">