This is a Bug Report
🎩 Description
The new design component cards add a way to follow the resource from the M-sized card, which is used in the resource list (eg, proposals list). This couldn't be done from the old cards.
This forced us to generate a new layout to add a way for users to follow the resource, but the HTML used for this uses a link, while Rails forces us to use a <button> element inside a form.
This is the closest implementation to the original design I could get using the CSS classes we already have:

AFAIK, we don't have any class that can be applied to buttons that remove the border.
I found the issue while working on #3338 implementing the proposal cards.
I see two options:
- We drop the feature to follow the resource from the card list
- We redo the layout to use a button instead of a link, and see if we can find some CSS that gets the job done.
📌 Related issues
📋 Additional Data
- Decidim deployment where you found the issue:
master
This is a Bug Report
🎩 Description
The new design component cards add a way to follow the resource from the M-sized card, which is used in the resource list (eg, proposals list). This couldn't be done from the old cards.
This forced us to generate a new layout to add a way for users to follow the resource, but the HTML used for this uses a link, while Rails forces us to use a
<button>element inside a form.This is the closest implementation to the original design I could get using the CSS classes we already have:
AFAIK, we don't have any class that can be applied to buttons that remove the border.
I found the issue while working on #3338 implementing the proposal cards.
I see two options:
📌 Related issues
📋 Additional Data
master