<%= f.check_box :final_version %>
diff --git a/app/components/admin/legislation/draft_versions/form_component.rb b/app/components/admin/legislation/draft_versions/form_component.rb
index ef90c4ebc..007295478 100644
--- a/app/components/admin/legislation/draft_versions/form_component.rb
+++ b/app/components/admin/legislation/draft_versions/form_component.rb
@@ -11,6 +11,10 @@ class Admin::Legislation::DraftVersions::FormComponent < ApplicationComponent
private
+ def attribute_name(attribute)
+ Legislation::DraftVersion.human_attribute_name(attribute)
+ end
+
def process
draft_version.process
end
diff --git a/app/components/admin/site_customization/pages/form_component.html.erb b/app/components/admin/site_customization/pages/form_component.html.erb
index 9fcabb9de..4f0f97466 100644
--- a/app/components/admin/site_customization/pages/form_component.html.erb
+++ b/app/components/admin/site_customization/pages/form_component.html.erb
@@ -10,11 +10,13 @@
<%= t("admin.site_customization.pages.form.options") %>
- <%= f.label :status %>
- <% ::SiteCustomization::Page::VALID_STATUSES.each do |status| %>
- <%= f.radio_button :status, status %>
-
- <% end %>
+
<%= f.check_box :more_info_flag, class: "small" %>
<%= f.check_box :print_content_flag %>
diff --git a/app/components/admin/site_customization/pages/form_component.rb b/app/components/admin/site_customization/pages/form_component.rb
index d503d0c79..b4f705107 100644
--- a/app/components/admin/site_customization/pages/form_component.rb
+++ b/app/components/admin/site_customization/pages/form_component.rb
@@ -6,4 +6,10 @@ class Admin::SiteCustomization::Pages::FormComponent < ApplicationComponent
def initialize(page)
@page = page
end
+
+ private
+
+ def attribute_name(attribute)
+ SiteCustomization::Page.human_attribute_name(attribute)
+ end
end