Hide single heading select on new budget investment form

This commit is contained in:
decabeza
2020-04-06 14:11:05 +02:00
committed by Javi Martín
parent eb733d1880
commit 0488b3735f
11 changed files with 52 additions and 27 deletions

View File

@@ -319,7 +319,6 @@ def validate_latitude_longitude(mappable_factory_name)
end
def fill_in_budget_investment_form
page.select mappable.heading.name_scoped_by_group, from: :budget_investment_heading_id
fill_in "Title", with: "Budget investment title"
fill_in_ckeditor "Description", with: "Budget investment description"
check :budget_investment_terms_of_service

View File

@@ -361,7 +361,6 @@ def documentable_fill_new_valid_dashboard_action
end
def documentable_fill_new_valid_budget_investment
page.select documentable.heading.name_scoped_by_group, from: :budget_investment_heading_id
fill_in "Title", with: "Budget investment title"
fill_in_ckeditor "Description", with: "Budget investment description"
check :budget_investment_terms_of_service

View File

@@ -294,7 +294,6 @@ def imageable_fill_new_valid_budget
end
def imageable_fill_new_valid_budget_investment
page.select imageable.heading.name_scoped_by_group, from: :budget_investment_heading_id
fill_in "Title", with: "Budget investment title"
fill_in_ckeditor "Description", with: "Budget investment description"
check :budget_investment_terms_of_service