エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
slim-lang's if-else nested code
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
slim-lang's if-else nested code
I want to assign a css class to a part of HTML based on condition in slim-lang I am doing the fol... I want to assign a css class to a part of HTML based on condition in slim-lang I am doing the following - if current_user .title - else .title_else Now how can i write the HTML that should be nested in the one of the class above? Do i need to write HTML in the both if condition and else condition ? The reason is that the HTML that should be nested in one of the above class should be further intend

