aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-12-18 19:30:01 +0000
committerLouise Crow <louise.crow@gmail.com>2014-01-13 12:36:43 +0000
commit2c4421b1b65065b4c81d5d3c45f67875e20f810e (patch)
tree48a6330d51c32ca15c128715623d89bed35fea8e
parentb5e8bd1ae1cca585e65e9d7401a762ae7e32b89f (diff)
Make link style consistent with others.
-rw-r--r--app/views/admin_public_body/new.html.erb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/admin_public_body/new.html.erb b/app/views/admin_public_body/new.html.erb
index 13e8238d6..24b27d7af 100644
--- a/app/views/admin_public_body/new.html.erb
+++ b/app/views/admin_public_body/new.html.erb
@@ -6,13 +6,15 @@
<div id="public_body_form">
<%= form_for @public_body, :as => :public_body, :url => admin_body_create_path, :html => {:class => "form form-horizontal"} do |f| %>
<%= render :partial => 'form', :locals => {:f => f} %>
+
+
<div class="form-actions">
<%= f.submit "Create", :class => "btn btn-primary" %>
</div>
<% end %>
<div class="row">
<div class="span8 well">
- <%= link_to _('List all'), 'list' %>
+ <%= link_to 'List all', admin_body_list_path, :class => "btn" %>
</div>
</div>
</div>