podemos-info/census

View on GitHub
app/views/issues/people/admin_remark/_form.arb

Summary

Maintainability
Test Coverage
# frozen_string_literal: true

context.instance_eval do
  panel t("census.issues.close.title", issue_type_name: issue.issue_type_name.downcase) do
    para issue.issue_type_tip
    para issue.explanation
    para issue.objects_links

    f.inputs do
      f.input :fixed, as: :boolean
      f.input :comment, as: :text
    end
    f.actions do
      f.action :submit, label: t("census.issues.close.action")
      f.action :cancel
    end
  end
end