Jeremy J

Product Manager

Splitbee and Ruby on rails

Hi,Β 

I'm looking to add events on my Ruby on rails website.Β 

I tried to add the attribute on an external link :Β 

<%= link_toΒ  "USE THIS TEMPLATE", @board.link, target: :_blank, class: "btn btn-primary mr-2", id: "board-USE-#{@board.name}" %>

then, I tried to add a event on the sign in formΒ 

<%= simple_form_for(resource, as: resource_name, url: session_path(resource_name))Β  do |f| %>
...
<% end %>

but I don't find the way.

Can you help me ?Β