Commit d800d7dffbff0baaf4fb42da52c398a7510e2c9c
1 parent
2f70f8a4
Exists in
master
and in
29 other branches
ActionItem41: adding missing views directory
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1327 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
2 changed files
with
24 additions
and
0 deletions
Show diff stats
@@ -0,0 +1,12 @@ | @@ -0,0 +1,12 @@ | ||
1 | +<h1><%= _("%s's communities") % profile.name %></h1> | ||
2 | + | ||
3 | +<ul> | ||
4 | + <% for community in @communities %> | ||
5 | + <li> | ||
6 | + <%= link_to community.name, community.url %> | ||
7 | + <%= link_to _('(manage)'), community.admin_url %> | ||
8 | + </li> | ||
9 | + <% end %> | ||
10 | +</ul> | ||
11 | + | ||
12 | +<%= link_to _('Create a new community'), :action => 'new' %> |
@@ -0,0 +1,12 @@ | @@ -0,0 +1,12 @@ | ||
1 | +<% labelled_form_for :community, @community do |f| %> | ||
2 | + | ||
3 | + <%= f.text_field :name %> | ||
4 | + | ||
5 | + <%= f.text_area :description %> | ||
6 | + | ||
7 | + <% button_bar do %> | ||
8 | + <%= submit_button(:save, _('Create')) %> | ||
9 | + <%= button(:cancel, _('Cancel'), :action => 'index') %> | ||
10 | + <% end %> | ||
11 | + | ||
12 | +<% end %> |