summaryrefslogtreecommitdiffstats
path: root/app/views/principal_memberships/new.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/principal_memberships/new.html.erb')
-rw-r--r--app/views/principal_memberships/new.html.erb6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/principal_memberships/new.html.erb b/app/views/principal_memberships/new.html.erb
new file mode 100644
index 000000000..64d2ebe21
--- /dev/null
+++ b/app/views/principal_memberships/new.html.erb
@@ -0,0 +1,6 @@
+<h2><%= l(:label_add_projects) %></h2>
+
+<%= form_for :membership, :url => user_memberships_path(@principal), :method => :post do |f| %>
+ <%= render :partial => 'new_form' %>
+ <p><%= submit_tag l(:button_add), :name => nil %></p>
+<% end %>