<%= content_tag :video, data: { target: 'video.player' } do %><%= content_tag :video, 'data-video-target': 'player' } do %>
<%= content_tag :video, data: { video: { target: 'player' }} do %>
static targets = ["calendar", "modal", "dismiss", "start_time", "end_time"]
closeModal() {
this.modalTarget.style.display = "none"
}<div class="modal-footer"> <%= button_tag "Cancel", "data-action": "calendar#closeModal" %> <%= form.submit class: 'btn btn-primary' %> </div>
# Gemfile
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
gem 'gdpr_rails', github: 'prey/gdpr_rails'