Add phases step to budget creation
This commit is contained in:
committed by
Javi Martín
parent
9421f1673a
commit
eb77d09425
@@ -1,6 +1,6 @@
|
||||
<%= render "shared/globalize_locales", resource: phase %>
|
||||
|
||||
<%= translatable_form_for [:admin, phase.budget, phase], html: { class: "budget-phases-form" } do |f| %>
|
||||
<%= translatable_form_for [namespace, phase.budget, phase], html: { class: "budget-phases-form" } do |f| %>
|
||||
|
||||
<%= render "shared/errors", resource: phase %>
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
class Admin::BudgetPhases::FormComponent < ApplicationComponent
|
||||
include TranslatableFormHelper
|
||||
include GlobalizeHelper
|
||||
include Admin::Namespace
|
||||
|
||||
attr_reader :phase
|
||||
|
||||
|
||||
Reference in New Issue
Block a user