Skip to content

Commit

Permalink
request changes
Browse files Browse the repository at this point in the history
  • Loading branch information
SocFoot committed Jan 4, 2024
1 parent b0060c9 commit 709e0d1
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 5 deletions.
2 changes: 0 additions & 2 deletions app/controllers/claims/pages_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
class Claims::PagesController < ApplicationController
def index
end
end
29 changes: 29 additions & 0 deletions app/views/claims/pages/index.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<h1 class="govuk-heading-xl">It works! 🎉</h1>

<p class="govuk-body">
Your application is ready - so long as this page rendered without any errors you're good to go.
</p>

<%= govuk_summary_list(
rows: [
{ key: { text: "Service" }, value: { text: "Claims" } },
{ key: { text: "Signed in as" }, value: { text: current_user&.first_name } },
{ key: { text: "Rails version" }, value: { text: Rails.version } },
{ key: { text: "Ruby version" }, value: { text: RUBY_VERSION } },
{
key: {
text: "GOV.UK Frontend",
},
value: {
text: JSON
.parse(File.read(Rails.root.join("package.json")))
.dig("dependencies", "govuk-frontend")
.tr("^", ""),
},
},
],
) %>
</div>
</div>
3 changes: 0 additions & 3 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,8 @@ en:
gias_school:
required: ""
add_organisation: Add organisation
<<<<<<< HEAD
organisations: Organisations
school: School
=======
>>>>>>> lint
schools: Schools
organisation_details: Organisation details
itt_provider: ITT provider
Expand Down

0 comments on commit 709e0d1

Please sign in to comment.