blob: 9a756777f665cbfc151e3b2039870812b539de9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
- if @parent && @parent.class == Tenant
= simple_form_for([@parent, @user]) do |f|
= f.error_notification
= render "form_core", :f => f
.actions
= f.button :submit, conditional_t('users.form.submit')
- else
= simple_form_for(@user) do |f|
= f.error_notification
= render "form_core", :f => f
.actions
= f.button :submit, conditional_t('users.form.submit')
|