all form buttons are now using button definition in UI
This commit is contained in:
parent
dbc8f0112e
commit
d4ac19e9ce
7 changed files with 15 additions and 6 deletions
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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})"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -105,4 +105,6 @@ $(document).ready(function(){
|
|||
}
|
||||
);
|
||||
|
||||
$("input[type='submit']").addClass("button");
|
||||
|
||||
});//end document ready
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -422,7 +422,7 @@ ul#publisher_content_pickers li
|
|||
|
||||
.field_with_submit
|
||||
input[type='text']
|
||||
:width 85%
|
||||
:width 80%
|
||||
:display inline
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue