I made a mistake while applying classes to form_for when styling Rails Devise with Semantic UI, so here’s a note about it.
<form class="ui large form">
<div class="ui stacked segment">
<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
By adding :html => {:class => 'ui large form'}
to form_for, the class is properly applied.
<%= form_for(resource, as: resource_name, :html => {:class => 'ui large form'}, url: registration_path(resource_name)) do |f| %>
<div class="ui stacked segment">