aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-03-28 09:44:57 +1100
committerMatthew Landauer <matthew@openaustralia.org>2013-03-28 09:44:57 +1100
commit3c59078c5b0283695190b2701c09eee3c479f9fb (patch)
tree656f7066b6517bc38093e2fb13a6bc3175aca8f6
parentd09758c79fff462906b48dda6601ced25a8865da (diff)
Forms were not being shown because using wrong form of erb block
-rw-r--r--app/views/admin_request/show.html.erb2
-rw-r--r--app/views/admin_user/show.html.erb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin_request/show.html.erb b/app/views/admin_request/show.html.erb
index 67f10c182..03e59059b 100644
--- a/app/views/admin_request/show.html.erb
+++ b/app/views/admin_request/show.html.erb
@@ -121,7 +121,7 @@
<p class="help-block">(see also option to general URLs for individual incoming messages below)</p>
</div>
</div>
- <% form_tag admin_request_hide_path(@info_request), :class => "form form-inline", :id => "hide_request_form", 'data-info-request-id' => @info_request.id.to_s do %>
+ <%= form_tag admin_request_hide_path(@info_request), :class => "form form-inline", :id => "hide_request_form", 'data-info-request-id' => @info_request.id.to_s do %>
<div class="control-group">
<% if @info_request.is_external? %>
<label class="control-label">Hide the request:</label>
diff --git a/app/views/admin_user/show.html.erb b/app/views/admin_user/show.html.erb
index 26a385f31..a0c18806b 100644
--- a/app/views/admin_user/show.html.erb
+++ b/app/views/admin_user/show.html.erb
@@ -38,7 +38,7 @@
<%=h admin_value(value)%>
<% end %>
<% if column_name == 'email_bounced_at' && !@admin_user.email_bounced_at.nil? %>
- <% form_tag admin_user_clear_bounce_path(@admin_user), :class => "form form-inline" do %>
+ <%= form_tag admin_user_clear_bounce_path(@admin_user), :class => "form form-inline" do %>
<input type="submit" name="action" value="Clear bounce" class="btn btn-info">
<% end %>
<% end %>