Skip to content

Commit

Permalink
Changing heading to h1. Fixes spree#1697
Browse files Browse the repository at this point in the history
Merges spree#1701
  • Loading branch information
brunocoelho authored and radar committed Jun 26, 2012
1 parent 5e5c162 commit 75dfe6c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions core/app/views/spree/checkout/registration.html.erb
@@ -1,13 +1,13 @@
<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @user } %>
<h2><%= t(:registration) %></h2>
<h1><%= t(:registration) %></h1>
<div id="registration" data-hook>
<div id="account" class="columns alpha eight">
<!-- TODO: add partial with registration form -->
</div>
<% if Spree::Config[:allow_guest_checkout] %>
<div id="guest_checkout" data-hook class="columns omega eight">
<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @order } %>
<h2><%= t(:guest_user_account) %></h2>
<h1><%= t(:guest_user_account) %></h1>
<%= form_for @order, :url => update_checkout_registration_path, :method => :put, :html => { :id => 'checkout_form_registration' } do |f| %>
<p>
<%= f.label :email, t(:email) %><br />
Expand Down
4 changes: 2 additions & 2 deletions core/app/views/spree/content/cvv.html.erb
@@ -1,5 +1,5 @@
<div class="cvv" data-hook>
<h2><%= t(:what_is_a_cvv) %></h2>
<h1><%= t(:what_is_a_cvv) %></h1>
<p>For Visa, MasterCard, and Discover cards, the card code is the last 3 digit number located on the back of your card on or above your signature line. For an American Express card, it is the 4 digits on the FRONT above the end of your card number.</p>
<p>To help reduce fraud in the card-not-present environment, credit card companies have introduced a card code program. Visa calls this code Card Verification Value (CVV); MasterCard calls it Card Validation Code (CVC); Discover calls it Card ID (CID). The card code is a three- or four- digit security code that is printed on the back of cards. The number typically appears at the end of the signature panel.</p>
<div class="cid-caption">Visa</div>
Expand All @@ -10,4 +10,4 @@
<%= image_tag 'credit_cards/amex_cid.gif' %>
<div class="cid-caption">Discover</div>
<%= image_tag 'credit_cards/discover_cid.gif' %>
</div>
</div>
2 changes: 1 addition & 1 deletion core/app/views/spree/orders/show.html.erb
Expand Up @@ -4,7 +4,7 @@

<div id="order" data-hook>
<% if params.has_key? :checkout_complete %>
<h3><%= t(:thank_you_for_your_order) %></h3>
<h1><%= t(:thank_you_for_your_order) %></h1>
<% end %>
<%= render :partial => 'spree/shared/order_details', :locals => { :order => @order } %>

Expand Down
2 changes: 1 addition & 1 deletion core/app/views/spree/taxons/show.html.erb
@@ -1,4 +1,4 @@
<h3 class="taxon-title"><%= accurate_title %></h3>
<h1 class="taxon-title"><%= accurate_title %></h1>

<% content_for :sidebar do %>
<div data-hook="taxon_sidebar_navigation">
Expand Down

0 comments on commit 75dfe6c

Please sign in to comment.