Answers for "html.erb conditionally add class"

1

html.erb conditionally add class

<div class="<%= @error ? 'error-class' : 'normal-class' %>">
Posted by: Guest on February-25-2021

Code answers related to "html.erb conditionally add class"

Browse Popular Code Answers by Language