diff options
author | Mario "Kuroir" Ricalde <kuroir@gmail.com> | 2013-02-13 05:39:21 -0600 |
---|---|---|
committer | Mario "Kuroir" Ricalde <kuroir@gmail.com> | 2013-02-13 05:39:21 -0600 |
commit | 791bf973b02b626f876b7e5819e2037dcff90f84 (patch) | |
tree | 5d349f2ddf3f50f423538a511ef5abf40bef1582 /app/views/tenants/_index_core.html.haml | |
parent | 7d507dcc1bbbf5244b8d75f40c7cb6bc15906b33 (diff) |
Simple Form Fixes for Form Actions
Diffstat (limited to 'app/views/tenants/_index_core.html.haml')
-rw-r--r-- | app/views/tenants/_index_core.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/tenants/_index_core.html.haml b/app/views/tenants/_index_core.html.haml index a220b1b..2430b67 100644 --- a/app/views/tenants/_index_core.html.haml +++ b/app/views/tenants/_index_core.html.haml @@ -13,6 +13,6 @@ - if current_user && current_user.current_tenant != tenant && current_user.tenants.include?(tenant) = simple_form_for([current_user.current_tenant, current_user]) do |f| = f.hidden_field :current_tenant_id, :value => tenant.id - .actions + .form-actions = f.button :submit, conditional_t('tenants.switch_to_tenant') - =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:child => tenant}
\ No newline at end of file + =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:child => tenant} |