summaryrefslogtreecommitdiffstats
path: root/app/views/issue_categories
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/issue_categories')
-rw-r--r--app/views/issue_categories/_new_modal.html.erb9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/issue_categories/_new_modal.html.erb b/app/views/issue_categories/_new_modal.html.erb
new file mode 100644
index 000000000..402391192
--- /dev/null
+++ b/app/views/issue_categories/_new_modal.html.erb
@@ -0,0 +1,9 @@
+<h3 class="title"><%=l(:label_issue_category_new)%></h3>
+
+<%= labelled_remote_form_for @category, :as => 'issue_category', :url => project_issue_categories_path(@project) do |f| %>
+<%= render :partial => 'issue_categories/form', :locals => { :f => f } %>
+ <p class="buttons">
+ <%= submit_tag l(:button_create), :name => nil %>
+ <%= submit_tag l(:button_cancel), :name => nil, :onclick => "hideModal(this);", :type => 'button' %>
+ </p>
+<% end %>