Sha256: d82e1460e5fe8d6fd4617a21d68177a12289329f444f81152df7ec749834d27f

Contents?: true

Size: 334 Bytes

Versions: 3

Compression:

Stored size: 334 Bytes

Contents

.<%= singular_table_name %><%= %({ data: { controller: "#{stimulus_controller_id}" } }) if stimulus? %>
  %h1
    Hello from
    %b
      <%= class_name %>
    , initialized at:
    = @time
  <%- if stimulus? %>
  %button{ data: { action: "click-><%= stimulus_controller_id %>#greet" }
    Greet me
  <% end %>
  %p
    = description

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
amber_component-1.2.0 lib/generators/templates/view.haml.erb
amber_component-1.1.1 lib/generators/templates/view.haml.erb
amber_component-1.1.0 lib/generators/templates/view.haml.erb