Skip to content

Commit

Permalink
Fix bug with audience types.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelcm committed Nov 8, 2011
1 parent 351932b commit 78f2c6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/admin/resource_categories/_form.html.erb
Expand Up @@ -17,7 +17,7 @@
<div class='field'>
<%= f.label :audience -%>
<select name="resource_category[audience]">
<% audience_types.each do |type| # iterate through audience_types provided by pages_helper %>
<% ['employers', 'students'].each do |type| # iterate through audience_types provided by pages_helper %>
<option value="<%= type %>" <% if type==@resource_category.audience %>selected<% end %> ><%= type.capitalize%></option>
<% end %>
</select>
Expand Down

0 comments on commit 78f2c6d

Please sign in to comment.