We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tagを使いたい。
Rails: 5.1以降のtagヘルパー記法はcontent_tagより便利|TechRacho by BPS株式会社
= content_tag :div, nil, id: "guestcoquotebutton#{index}", data: { quoteId: quote.id, numberCoquoted: number_coquoted }.to_json, class: 'mt-2'
= tag.div id: "guestcoquotebutton#{index}", data: { quoteId: quote.id, numberCoquoted: number_coquoted }.to_json, class: 'mt-2'
こんなふうにできるはず
The text was updated successfully, but these errors were encountered:
No branches or pull requests
概要
tagを使いたい。
背景
Rails: 5.1以降のtagヘルパー記法はcontent_tagより便利|TechRacho by BPS株式会社
例示
Before
After
こんなふうにできるはず
The text was updated successfully, but these errors were encountered: