From d800d7dffbff0baaf4fb42da52c398a7510e2c9c Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Fri, 8 Feb 2008 23:39:02 +0000 Subject: [PATCH] ActionItem41: adding missing views directory --- app/views/manage_communities/index.rhtml | 12 ++++++++++++ app/views/manage_communities/new.rhtml | 12 ++++++++++++ 2 files changed, 24 insertions(+), 0 deletions(-) create mode 100644 app/views/manage_communities/index.rhtml create mode 100644 app/views/manage_communities/new.rhtml diff --git a/app/views/manage_communities/index.rhtml b/app/views/manage_communities/index.rhtml new file mode 100644 index 0000000..a8b3c0b --- /dev/null +++ b/app/views/manage_communities/index.rhtml @@ -0,0 +1,12 @@ +

<%= _("%s's communities") % profile.name %>

+ + + +<%= link_to _('Create a new community'), :action => 'new' %> diff --git a/app/views/manage_communities/new.rhtml b/app/views/manage_communities/new.rhtml new file mode 100644 index 0000000..d737078 --- /dev/null +++ b/app/views/manage_communities/new.rhtml @@ -0,0 +1,12 @@ +<% labelled_form_for :community, @community do |f| %> + + <%= f.text_field :name %> + + <%= f.text_area :description %> + + <% button_bar do %> + <%= submit_button(:save, _('Create')) %> + <%= button(:cancel, _('Cancel'), :action => 'index') %> + <% end %> + +<% end %> -- libgit2 0.21.2