Answers for "html apply class conditionally"

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 apply class conditionally"

Browse Popular Code Answers by Language