all form buttons are now using button definition in UI

This commit is contained in:
danielvincent 2010-07-27 12:23:21 -07:00
parent dbc8f0112e
commit d4ac19e9ce
7 changed files with 15 additions and 6 deletions

View file

@ -1,5 +1,6 @@
= form_for Album.new do |f|
= f.error_messages
%p
= f.text_field :name, :value => "tell me something good"
= f.submit 'oh yeah!', :class => 'button'
= f.label :name
= f.text_field :name
= f.submit 'create', :class => 'button'

View file

@ -1,4 +1,6 @@
%h1.big_text
.back
= link_to "⇧ home", root_path
%ul.button_set
%li.selected= friends_albums_link
%li= your_albums_link

View file

@ -18,7 +18,7 @@
%p
= link_to "Destroy", @photo, :confirm => 'Are you sure?', :method => :delete
%p
= link_to "<< back to album", album_path(@album)
= link_to "⇧ #{@album.name}", album_path(@album)
%h4{:class => "show_post_comments"}
= "comments (#{@photo.comments.count})"

View file

@ -1,4 +1,8 @@
%h1 requests
%h1.big_text
.back
= link_to "⇧ home", root_path
requests
= render "requests/new_request", :request => @request
%h3= "currently #{@request_count} requests"

View file

@ -105,4 +105,6 @@ $(document).ready(function(){
}
);
$("input[type='submit']").addClass("button");
});//end document ready

View file

@ -343,7 +343,7 @@ ul#publisher_content_pickers li {
-moz-border-radius: 3px; }
.field_with_submit input[type='text'] {
width: 85%;
width: 80%;
display: inline; }
h1.big_text {

View file

@ -422,7 +422,7 @@ ul#publisher_content_pickers li
.field_with_submit
input[type='text']
:width 85%
:width 80%
:display inline