% if is_offer %>
<% @challenge.build_offer_restriction unless @challenge.offer_restriction %>
<% restriction = @challenge.offer_restriction %>
<% else %>
<% @challenge.build_request_restriction unless @challenge.request_restriction %>
<% restriction = @challenge.request_restriction %>
<% end %>
<%= challenge_form.fields_for(is_offer ? :offer_restriction : :request_restriction) do |prompt_restriction_form| %>
<% if show_tag_options %>
<% end %>
<% end %>