Skip to content

Commit

Permalink
Removes Go Back button from File With Help page
Browse files Browse the repository at this point in the history
- Adds a bit of space above the button as well

(#172725759) Add "filing with help" signpost page

Signed-off-by: Molly T-M <[email protected]>
  • Loading branch information
jonsgreen committed May 13, 2020
1 parent c8653af commit 8609e1b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 16 deletions.
5 changes: 0 additions & 5 deletions app/assets/stylesheets/components/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,3 @@
.button-logo--inline {
margin-left: 0.5rem;
}

.button--group {
display: flex;
justify-content: space-evenly;
}
11 changes: 3 additions & 8 deletions app/views/questions/file_with_help/edit.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,8 @@
<span>You’re nervous to file completely on your own</span>
</li>
</ul>
<div class="button--group">
<%= link_to :back, class: "button text--centered" do %>
Go Back
<% end %>
<%= link_to next_path, class: "button button--primary text--centered" do %>
Continue
<% end %>
</div>
<%= link_to next_path, class: "button button--primary text--centered button--wide spacing-above-25" do %>
Continue
<% end %>
</div>
<% end %>
3 changes: 0 additions & 3 deletions spec/features/web_intake/new_single_filer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@

# File With Help
expect(page).to have_selector("h1", text: "File with the help of a tax expert!")
click_on "Go Back"
expect(current_path).to eq(feelings_questions_path)
click_on "Start my taxes online"
click_on "Continue"

# Ask about backtaxes
Expand Down

0 comments on commit 8609e1b

Please sign in to comment.