diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/admin_public_body/edit.rhtml | 2 | ||||
-rw-r--r-- | app/views/request/new.rhtml | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/app/views/admin_public_body/edit.rhtml b/app/views/admin_public_body/edit.rhtml index 618f69a77..3a1fda3e9 100644 --- a/app/views/admin_public_body/edit.rhtml +++ b/app/views/admin_public_body/edit.rhtml @@ -12,7 +12,7 @@ <%= link_to 'List all', '../list' %> </p> -<% form_tag('../destroy/' + @public_body.id.to_s) do |f| %> +<% form_tag('../destroy/' + @public_body.id.to_s) do %> <p> <%= hidden_field_tag(:public_body_id, { :value => @public_body.id } ) %> <%= submit_tag "Destroy " + @public_body.short_name %> (this is permanent!) diff --git a/app/views/request/new.rhtml b/app/views/request/new.rhtml index 8aa627194..89bc10917 100644 --- a/app/views/request/new.rhtml +++ b/app/views/request/new.rhtml @@ -42,10 +42,9 @@ <p> <label class="form_label" for="info_request_public_body_id">To:</label> - <h2><%=h(@info_request.public_body.name)%></h2> + <span id="to_public_body"><%=h(@info_request.public_body.name)%></span> </p> - <p> <label class="form_label" for="info_request_title">Summary:</label> <%= f.text_field :title, :size => 50 %> |