-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FYST-796 Add state id pages to Idaho
- Loading branch information
1 parent
77a2850
commit 57d76ac
Showing
10 changed files
with
107 additions
and
7 deletions.
There are no files selected for viewing
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
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
26 changes: 26 additions & 0 deletions
26
app/views/state_file/questions/id_primary_state_id/_id_primary.html.erb
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<% title = t("state_file.questions.primary_state_id.edit.title") %> | ||
<% content_for :page_title, title %> | ||
<%# Must be above :card content_for %> | ||
<% content_for :info_box do %> | ||
<div class="reveal"> | ||
<p><a href="#" class="reveal__link"><%= t(".why_ask_this") %></a></p> | ||
<div class="reveal__content"> | ||
<div> | ||
<p> | ||
<%= t('.protect_identity') %> | ||
</p> | ||
<p> | ||
<%= t('.encourage_sharing_html') %> | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
<% end %> | ||
<% content_for :card do %> | ||
<h1 class="h2"><%= title %></h1> | ||
<%= render 'state_file/questions/primary_state_id/state_id', options: { | ||
info_link: "https://itd.idaho.gov/news/idahos-new-license-and-id-card-are-here/" | ||
} %> | ||
<% end %> |
26 changes: 26 additions & 0 deletions
26
app/views/state_file/questions/id_spouse_state_id/_id_spouse.html.erb
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<% title = t("state_file.questions.spouse_state_id.edit.title_html") %> | ||
<% content_for :page_title, title %> | ||
<%# Must be above :card content_for %> | ||
<% content_for :info_box do %> | ||
<div class="reveal"> | ||
<p><a href="#" class="reveal__link"><%= t(".why_ask_this") %></a></p> | ||
<div class="reveal__content"> | ||
<div> | ||
<p> | ||
<%= t('.protect_identity') %> | ||
</p> | ||
<p> | ||
<%= t('.encourage_sharing_html') %> | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
<% end %> | ||
<% content_for :card do %> | ||
<h1 class="h2"><%= title %></h1> | ||
<%= render 'state_file/questions/ny_primary_state_id/state_id', options: { | ||
info_link: "https://itd.idaho.gov/news/idahos-new-license-and-id-card-are-here/" | ||
} %> | ||
<% end %> |
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
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
10 changes: 10 additions & 0 deletions
10
db/migrate/20241030144351_add_sate_id_indexes_to_state_file_id_intake.rb
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
class AddSateIdIndexesToStateFileIdIntake < ActiveRecord::Migration[7.1] | ||
disable_ddl_transaction! | ||
|
||
def change | ||
add_column :state_file_id_intakes, :primary_state_id_id, :bigint | ||
add_column :state_file_id_intakes, :spouse_state_id_id, :bigint | ||
add_index :state_file_id_intakes, :primary_state_id_id, name: 'index_state_file_id_intakes_on_primary_state_id_id', algorithm: :concurrently | ||
add_index :state_file_id_intakes, :spouse_state_id_id, name: 'index_state_file_id_intakes_on_spouse_state_id_id', algorithm: :concurrently | ||
end | ||
end |
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
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
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