erDiagram
User ||--o{ Application : makes
Application ||--o{ Course : "for a"
Application ||--o{ "Lead Provider" : "provides"
School o|--o{ "Application" : ""
"Private childcare provider" o|--o{ Application : ""
Cohort ||--o{ Application : ""
Cohort ||--o{ Statement : ""
Cohort ||--o{ Schedule : "belongs to"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/documentation/providers/ecf-call-off-contract-2023-2024-redacted.adoc b/documentation/providers/ecf-call-off-contract-2023-2024-redacted.adoc | |
index c0dbeff..ca2fe44 100644 | |
--- a/documentation/providers/ecf-call-off-contract-2023-2024-redacted.adoc | |
+++ b/documentation/providers/ecf-call-off-contract-2023-2024-redacted.adoc | |
@@ -3393,9 +3393,9 @@ of the KPI target | |
[width="100%",cols="57%,27%,16%",options="header",] | |
|=== | |
-|*KPI;* |*Measure* | | |
-a| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/govuk_design_system_formbuilder/elements/date.rb b/lib/govuk_design_system_formbuilder/elements/date.rb | |
index 84430d1..b11bc4e 100644 | |
--- a/lib/govuk_design_system_formbuilder/elements/date.rb | |
+++ b/lib/govuk_design_system_formbuilder/elements/date.rb | |
@@ -56,33 +56,21 @@ module GOVUKDesignSystemFormBuilder | |
def day | |
return if omit_day? | |
- if maxlength_enabled? | |
- date_part(:day, width: 2, link_errors: true, maxlength: 2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@-moz-document domain(design-system.service.gov.uk) { | |
.app-width-container { | |
max-width: 95% !important; | |
} | |
pre > code { | |
font-size: 12px !important; | |
} | |
} |
Ever wanted to render nunjucks macros from Ruby? Neither have I, until half an hour ago.
Here's a quick approach using the excellent Schmooze from Shopify.
Save nunjucks.rb
in a new directory then:
I hereby claim:
- I am peteryates on github.
- I am graphia (https://keybase.io/graphia) on keybase.
- I have a public key ASBGOYvkY6lza046FbiAHWGsWDt_KhXRM0UPwvqLsEVUCQo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%= form_with(model: account, local: true) do |form| %> | |
<%= form.govuk_error_summary %> | |
<%= form.govuk_email_field(:email) %> | |
<%= form.govuk_check_boxes_fieldset :terms_and_conditions, | |
legend: { text: 'Please accept our terms and conditions' } do %> | |
<%= form.hidden_field :terms_and_conditions, value: false %> | |
<%= form.govuk_check_box :terms_and_conditions, true, multiple: false, link_errors: true %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Author: ynonp - https://github.com/ynonp, Eddie Lebow https://github.com/elebow | |
" Description: RuboCop, a code style analyzer for Ruby files | |
call ale#Set('ruby_rubocop_executable', 'govuk-lint-ruby') | |
call ale#Set('ruby_rubocop_options', '') | |
function! ale_linters#ruby#rubocop#GetCommand(buffer) abort | |
let l:executable = ale#Var(a:buffer, 'ruby_rubocop_executable') | |
return ale#ruby#EscapeExecutable(l:executable, 'govuk-lint-ruby') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Given("I am on the {string} page") do |string| | |
path_for(string).tap do |p| | |
visit(p) | |
expect(page.current_path).to eql(p) | |
end | |
make_inputs_opaque if opaquify_inputs? | |
end |
NewerOlder