app/views/groups/edit.html.erb in social_stream-0.4.0 vs app/views/groups/edit.html.erb in social_stream-0.4.1
- old
+ new
@@ -1,8 +1,7 @@
-<% content_for :toolbar do %>
-<%= render :partial => 'toolbar_show' %>
-<% end %>
+<% toolbar :option => :groups %>
+
<% content_for :sidebar do %>
<%= render :partial => 'sidebar_show' %>
<% end %>
<% content_for :headers do %>
<%= stylesheet_link_tag "edit_user", :media => "screen, projection" %>
@@ -63,11 +62,11 @@
</div>
<div class="form_field">
<%= profile_form.text_field :country, :class => "form_tag" %>
</div>
</div>
- <div class="form_row">
+ <div class="form_row form_label">
<%= profile_form.label :description %>
</div>
<div class="form_row">
<%= profile_form.text_area :description, :maxlength => 400, :class => "form_tag" %>
</div>
@@ -125,10 +124,10 @@
</div>
</div>
<% end %>
<% end %>
</div>
-<div class="form_row center">
+<div class="form_row space_center">
<%= f.submit "Update", :class => "button" %>
<button class="button" onclick="window.location.href='<%= group_url(@group) %>';">
Cancel
</button>
</div>