move to opal dir, still trying

This commit is contained in:
2023-02-08 12:50:18 +02:00
parent 53b549e921
commit 6d48e0cdd4
13 changed files with 12 additions and 26 deletions

View File

@ -1,10 +0,0 @@
= form_for @kantum do |f|
- if @kantum.errors.any?
#error_explanation
%h2= "#{pluralize(@kantum.errors.count, "error")} prohibited this kantum from being saved:"
%ul
- @kantum.errors.full_messages.each do |message|
%li= message
.actions
= f.submit 'Save'

View File

@ -1,7 +0,0 @@
%h1 Editing kantum
= render 'form'
= link_to 'Show', @kantum
\|
= link_to 'Back', kanta_path

View File

@ -1,5 +0,0 @@
%h1 New kantum
= render 'form'
= link_to 'Back', kanta_path

View File

@ -6,6 +6,9 @@
%a.underline{ e_click: "bg_change" , r_class: 'back'}
{{ back }}
:opal
puts "HI"
:plain
class Clicker < VueR::Application
def bg_change
self.state = !self.state