use button class on buttons
Change-Id: I5206c3a37c8e32882f23d72c84dbecb3a4a0c8ff
This commit is contained in:
parent
ec816c3dac
commit
6fd1e62fb2
|
@ -39,7 +39,7 @@
|
|||
</p>
|
||||
<% 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><button type="submit">Change</button>
|
||||
<p><button type="submit" class="button">Change</button>
|
||||
<%= link_to "Cancel", "#", :class => "cancel_avatar" %></p>
|
||||
<% end %>
|
||||
</div>
|
||||
|
|
|
@ -13,13 +13,13 @@
|
|||
<% end %>
|
||||
|
||||
<% 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 %>
|
||||
<p>This group is not accepting new members at this time.</p>
|
||||
<% end %>
|
||||
|
||||
<% 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 %>
|
||||
<% end %>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<h1><%= @user.short_name %></h1>
|
||||
<p><%= format_message(@user.bio || "").first.html_safe %></p>
|
||||
<% if @can_follow %>
|
||||
<p><button id="follow_user">Follow</button></p>
|
||||
<p><button id="follow_user" class="button">Follow</button></p>
|
||||
<% end %>
|
||||
</div>
|
||||
<div class="span3">
|
||||
|
|
Loading…
Reference in New Issue