Skip to content

Instantly share code, notes, and snippets.

@jcreed
Created January 14, 2015 19:49
Show Gist options
  • Save jcreed/c55c450a49efb0c3a7b8 to your computer and use it in GitHub Desktop.
Save jcreed/c55c450a49efb0c3a7b8 to your computer and use it in GitHub Desktop.
views/applicants/licenses_certifications/_licenses.html.haml - RFPT-108
- if licenses.blank?
.blank_pane Applicant has chosen not to report any licenses.
- else
- fields = license_presenter.fields_identifiers_to_fields
- details = license_presenter.details_identifiers_to_fields
- locals = { records: licenses, fields: fields, details: details, presenter: license_presenter }
= render partial: 'applicants/licenses_certifications/licenses_certifications', locals: locals
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment