podemos-info/census

View on GitHub
app/views/procedures/person_data_change/_show.arb

Summary

Maintainability
Test Coverage
# frozen_string_literal: true

context.instance_eval do
  columns do
    column do
      render partial: "procedures/person_compare", locals: { context: context, procedure: procedure }
    end
    column do
      render partial: "procedures/show", locals: { context: context, procedure: procedure }
      render partial: "people/show", locals: { context: context, title: t("census.procedures.parameters"), changes: procedure.person_changeset,
                                               resource: procedure.after_person, mode: :changes }
      render partial: "procedures/common_form", locals: { context: context, procedure: procedure }
    end
  end
end