podemos-info/census

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

Summary

Maintainability
Test Coverage
# frozen_string_literal: true

context.instance_eval do
  columns do
    column do
      render partial: "people/show_small", locals: { context: context, title: t("census.procedures.person.data"),
                                                     changes: procedure.person_changeset, resource: procedure.before_person }
    end
    column do
      render partial: "procedures/membership_level_change/procedure_data", locals: { procedure: procedure }
      render partial: "procedures/show", locals: { context: context, procedure: procedure }
      render partial: "procedures/person_compare", locals: { context: context, procedure: procedure }
      render partial: "procedures/common_form", locals: { context: context, procedure: procedure }
    end
  end
end