<%= f.label :title %>
<%= f.text_field :title %>
<%= f.label :status %>
<%= f.select :status, @issue.statuses.invert %>
<%= link_to_function 'Assigned', "findUser('assigned')" %>
<%= f.text_field :assigned_name, {:value => User.first(:conditions => {:id => @issue.assigned})} %>
<%= f.label :category_id %>
<%= f.select :category_id, Category.domain(Category::DOMAIN_ISSUES).ordered.collect{|c| [c, c.id]} %>
<%= f.label :text %>
<%= f.text_area :text %>
<%= f.label :solution %>
<%= f.text_area :solution %>
<%= f.submit 'Save' %>
<% end %>