Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created August 26, 2019 05:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/6f397407cdc2b26439d81359bca07954 to your computer and use it in GitHub Desktop.
Save parzibyte/6f397407cdc2b26439d81359bca07954 to your computer and use it in GitHub Desktop.
<div th:classappend="'alert-' + (${clase != null} ? ${clase} : info)" class="alert">
Contenido del div
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment