2020-09-22 18:09:54 +00:00
|
|
|
- @gfm_form = true
|
2020-09-04 18:08:48 +00:00
|
|
|
|
|
|
|
- add_to_breadcrumbs s_('FeatureFlags|Feature Flags'), project_feature_flags_path(@project)
|
|
|
|
- breadcrumb_title @feature_flag.name
|
|
|
|
- page_title s_('FeatureFlags|Edit Feature Flag')
|
|
|
|
|
|
|
|
#js-edit-feature-flag{ data: { endpoint: project_feature_flag_path(@project, @feature_flag),
|
|
|
|
project_id: @project.id,
|
|
|
|
feature_flags_path: project_feature_flags_path(@project),
|
|
|
|
environments_endpoint: search_project_environments_path(@project, format: :json),
|
2020-09-15 15:10:08 +00:00
|
|
|
strategy_type_docs_page_path: help_page_path('operations/feature_flags', anchor: 'feature-flag-strategies'),
|
2021-08-11 09:10:00 +00:00
|
|
|
environments_scope_docs_path: help_page_path('ci/environments/index.md', anchor: 'scope-environments-with-specs'),
|
2020-09-04 18:08:48 +00:00
|
|
|
feature_flag_issues_endpoint: feature_flag_issues_links_endpoint(@project, @feature_flag, current_user) } }
|