diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-11-28 16:53:26 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-12-01 12:32:48 +0000 |
commit | ef6262298b0779a38dc64ad73fba357584b2c848 (patch) | |
tree | ff1054846481cfbafb8934ee90fb64501c455687 | |
parent | 40579725f738a223155710fd440750c42b47f21b (diff) |
Remove redundant hidden fields
Now that the form submits to a URL containing the parent object’s id
these are no longer required
See:
- 259a0fd588e198d2a826ef4ac09284c610005387
- d5c7e08d58dc5ad52f16eccd9c456543503e4360
-rw-r--r-- | app/views/admin_censor_rule/_form.html.erb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/views/admin_censor_rule/_form.html.erb b/app/views/admin_censor_rule/_form.html.erb index 5035238d6..3f602d2e4 100644 --- a/app/views/admin_censor_rule/_form.html.erb +++ b/app/views/admin_censor_rule/_form.html.erb @@ -4,11 +4,9 @@ <%=_("Applies to")%> <% unless info_request.nil? %> <%= request_both_links(info_request) %> - <%= hidden_field 'censor_rule', 'info_request_id', { :value => info_request.id } %> <% end %> <% unless user.nil? %> <%= user_both_links(user) %> - <%= hidden_field 'censor_rule', 'user_id', { :value => user.id } %> <% end %> </div> |