diff options
author | francis <francis> | 2007-10-09 20:05:13 +0000 |
---|---|---|
committer | francis <francis> | 2007-10-09 20:05:13 +0000 |
commit | b4d2f51fe32cd5c130b936bebe5ea0a63776e0f9 (patch) | |
tree | fd309a023f9450518def3d0079a03e4910c41f07 | |
parent | a0d1b8aadedfd2a3d9dfcb903014c63fbfb8cd39 (diff) |
Rename "Back" links to something which isn't context sensitive.
Move "New public body" link above the list of public bodies, so can always see.
-rw-r--r-- | app/views/admin_public_body/edit.rhtml | 2 | ||||
-rw-r--r-- | app/views/admin_public_body/list.rhtml | 3 | ||||
-rw-r--r-- | app/views/admin_public_body/new.rhtml | 2 | ||||
-rw-r--r-- | app/views/admin_public_body/show.rhtml | 2 |
4 files changed, 5 insertions, 4 deletions
diff --git a/app/views/admin_public_body/edit.rhtml b/app/views/admin_public_body/edit.rhtml index c5323d041..054e1826a 100644 --- a/app/views/admin_public_body/edit.rhtml +++ b/app/views/admin_public_body/edit.rhtml @@ -6,4 +6,4 @@ <% end %> <%= link_to 'Show', :action => 'show', :id => @public_body %> | -<%= link_to 'Back', :action => 'list' %> +<%= link_to 'List all', :action => 'list' %> diff --git a/app/views/admin_public_body/list.rhtml b/app/views/admin_public_body/list.rhtml index f5c6f6eec..b5d4f4267 100644 --- a/app/views/admin_public_body/list.rhtml +++ b/app/views/admin_public_body/list.rhtml @@ -1,5 +1,7 @@ <h1>Listing public bodies</h1> +<p><%= link_to 'New public body', :action => 'new' %></p> + <table> <tr> <% for column in PublicBody.content_columns %> @@ -22,4 +24,3 @@ <br /> -<%= link_to 'New public body', :action => 'new' %> diff --git a/app/views/admin_public_body/new.rhtml b/app/views/admin_public_body/new.rhtml index ee6ce8d81..454e18c77 100644 --- a/app/views/admin_public_body/new.rhtml +++ b/app/views/admin_public_body/new.rhtml @@ -5,4 +5,4 @@ <%= submit_tag "Create" %> <% end %> -<%= link_to 'Back', :action => 'list' %> +<p><%= link_to 'List all', :action => 'list' %></p> diff --git a/app/views/admin_public_body/show.rhtml b/app/views/admin_public_body/show.rhtml index bc8abd890..f30d65d42 100644 --- a/app/views/admin_public_body/show.rhtml +++ b/app/views/admin_public_body/show.rhtml @@ -8,7 +8,7 @@ </p> <%= link_to 'Edit', :action => 'edit', :id => @public_body %> | -<%= link_to 'Back', :action => 'list' %> +<%= link_to 'List all', :action => 'list' %> <h2>History</h2> <table border="1"> |