<h2 class="main-header">Find out the company that runs the <%= @assignment.problem.location.description %></h2>

<%- form_for [@campaign, @assignment] do |f| %>
  
  <div class='fieldset'>
  
    <div class='form-field'>
      <%- if @assignment.errors.on('organization_name') %>
        <div class='form-field-error'>
          <%= @assignment.errors.on(:organization_name) %>
        </div>
      <%- end %>
      <%= label_tag :organization_name, t(:organization_name) %>
      <%= raw text_field_tag :organization_name, @assignment.data[:organization_name], :size => 45 %>
    </div>
    
    <div class='form-field'>
      <%= raw f.submit t(:submit) %>
    </div>
<%- end %>
<h2 class="main-header">Find out the company that runs the <%= @assignment.problem.location.description %></h2>

<%- form_for [@campaign, @assignment] do |f| %>
  
  <div class='fieldset'>
  
    <div class='form-field'>
      <%- if @assignment.errors.on('organization_name') %>
        <div class='form-field-error'>
          <%= @assignment.errors.on(:organization_name) %>
        </div>
      <%- end %>
      <%= label_tag :organization_name, t(:organization_name) %>
      <%= raw text_field_tag :organization_name, @assignment.data[:organization_name], :size => 45 %>
    </div>
    
    <div class='form-field'>
      <%- if @assignment.errors.on('organization_email') %>
        <div class='form-field-error'>
          <%= @assignment.errors.on(:organization_email) %>
        </div>
      <%- end %>
      <%= label_tag :organization_email, t(:organization_email) %>
      <%= raw text_field_tag :organization_email, @assignment.data[:organization_email], :size => 45 %>
    </div>
    <div class='form-field'>
      <%= raw f.submit t(:submit) %>
    </div>
<%- end %>
Add organization email field to find-organization assignment
Add organization email field to find-organization assignment
