Skip to content

Commit

Permalink
Add alt tags to submit images
Browse files Browse the repository at this point in the history
  • Loading branch information
Desi McAdam and Veez (Matt Remsik) authored and veezus committed Feb 24, 2009
1 parent 306dd42 commit b7b97d7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/views/donations/_donate_twenty_five_form.html.haml
@@ -1,4 +1,4 @@
- remote_form_for Donation.new(:pitch => news_item, :amount => 25), :url => myspot_donations_path do |f|
= f.hidden_field :amount
= f.hidden_field :pitch_id
= image_submit_tag "donate_25.png"
= image_submit_tag "donate_25.png", :alt => 'Donate 25'
2 changes: 1 addition & 1 deletion app/views/pitches/_form.html.haml
Expand Up @@ -87,7 +87,7 @@

.float-right
- if @pitch.new_record?
= image_submit_tag image_path('create_a_pitch.png')
= image_submit_tag image_path('create_a_pitch.png'), :alt => 'Create a pitch'
- else
= image_submit_tag image_path('save.png')
= link_to image_tag('cancel.png', :alt => 'Cancel'), root_url
Expand Down
2 changes: 1 addition & 1 deletion app/views/sessions/new.html.haml
Expand Up @@ -24,7 +24,7 @@
.clear
.double_content_border
.float_right
%input{:type => 'image', :src=>'/images/login.png'}
%input{:type => 'image', :src=>'/images/login.png', :alt => "Login"}
.clear
.block-padding

0 comments on commit b7b97d7

Please sign in to comment.