use button class on buttons

Change-Id: I5206c3a37c8e32882f23d72c84dbecb3a4a0c8ff
This commit is contained in:
Cameron Matheson 2012-06-07 02:07:28 -06:00
parent ec816c3dac
commit 6fd1e62fb2
3 changed files with 4 additions and 4 deletions

View File

@ -39,7 +39,7 @@
</p> </p>
<% form_tag api_v1_group_url(@group), :method => 'PUT', :class => 'group_avatar_form' do %> <% form_tag api_v1_group_url(@group), :method => 'PUT', :class => 'group_avatar_form' do %>
<p><input type="file" name="avatar" class="avatar_file"></p> <p><input type="file" name="avatar" class="avatar_file"></p>
<p><button type="submit">Change</button> <p><button type="submit" class="button">Change</button>
<%= link_to "Cancel", "#", :class => "cancel_avatar" %></p> <%= link_to "Cancel", "#", :class => "cancel_avatar" %></p>
<% end %> <% end %>
</div> </div>

View File

@ -13,13 +13,13 @@
<% end %> <% end %>
<% if @can_join %> <% if @can_join %>
<p><button id="join_group">Join</button></p> <p><button id="join_group" class="button">Join</button></p>
<% elsif not @in_group %> <% elsif not @in_group %>
<p>This group is not accepting new members at this time.</p> <p>This group is not accepting new members at this time.</p>
<% end %> <% end %>
<% if @group.is_public? %> <% if @group.is_public? %>
<p><button id="follow_group">Follow</button></p> <p><button id="follow_group" class="button">Follow</button></p>
<%# TODO: collections go here %> <%# TODO: collections go here %>
<% end %> <% end %>

View File

@ -14,7 +14,7 @@
<h1><%= @user.short_name %></h1> <h1><%= @user.short_name %></h1>
<p><%= format_message(@user.bio || "").first.html_safe %></p> <p><%= format_message(@user.bio || "").first.html_safe %></p>
<% if @can_follow %> <% if @can_follow %>
<p><button id="follow_user">Follow</button></p> <p><button id="follow_user" class="button">Follow</button></p>
<% end %> <% end %>
</div> </div>
<div class="span3"> <div class="span3">