semantic_form_for
accepts the same options as form_for
so for your problem, the solution would be
semantic_form_for [:admin, @house, @note], html: { data: { persist: 'garlic' } }
If for some reason, it is showing data=persistgarlic
instead of what you expected, try the following
semantic_form_for [:admin, @house, @note], html: { 'data-persist' => 'garlic' }