Struggling with the new .heex formatting
<form id="certWebsite" action="/website/cert/<%= @website.id %>/" method="POST">
<button class="add-button button is-secondary is-small" type="submit">CERT</button>
</form>
gives
Make sure the attribute is properly closed. This may also happen if
there is an EEx interpolation inside a tag, which is not supported.
Instead of
<div <%= @some_attributes %>>
</div>
do
<div {@some_attributes}>
</div>
then I try
<form id="certWebsite" action="/website/cert/{@website.id}/" method="POST">
<button class="add-button button is-secondary is-small" type="submit">CERT</button>
</form>
which doe not interpret at all, i.e. gives
<form id="certWebsite" action="/website/cert/{@website.id}/" method="POST">
<button class="add-button button is-secondary is-small" type="submit">CERT</button>
</form>
whats the correct syntax?