Commit b60e9327839488a60044ab09eb7d85a0c20e2492
1 parent
7332d4df
Exists in
master
and in
23 other branches
ActionItem612: missed the new community screen
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2448 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
23 additions
and
2 deletions
Show diff stats
app/views/memberships/new_community.rhtml
| 1 | +<h1><%= __('Creating new community') %></h1> | ||
| 2 | + | ||
| 1 | <%= error_messages_for :community %> | 3 | <%= error_messages_for :community %> |
| 2 | 4 | ||
| 5 | +<div style='margin-left: 20%; margin-right: 20%'> | ||
| 3 | 6 | ||
| 4 | <% labelled_form_for :community, @community do |f| %> | 7 | <% labelled_form_for :community, @community do |f| %> |
| 5 | 8 | ||
| 6 | - <%= f.text_field :name %> | 9 | + <%= f.text_field :name, :style => 'width: 100%' %> |
| 10 | + | ||
| 11 | + <%= f.text_area :description, :style => 'width: 100%; height: 150px;' %> | ||
| 7 | 12 | ||
| 8 | - <%= f.text_area :description %> | 13 | + <div style='margin-bottom: 1em; margin-top: 1em;'> |
| 14 | + <%= _('New members must be approved:')%> | ||
| 15 | + </div> | ||
| 16 | + <div style='margin-bottom: 0.5em'> | ||
| 17 | + <%= radio_button 'community', 'closed', 'true', :style => 'float: left' %> | ||
| 18 | + <div style='margin-left: 30px'> | ||
| 19 | + <%= _('<strong>Before</strong> joining this group (a moderator has to accept the member in pending request before member can access the intranet and/or the website).') %> | ||
| 20 | + </div> | ||
| 21 | + </div> | ||
| 22 | + <div> | ||
| 23 | + <%= radio_button 'community', 'closed', 'false', :style => 'float: left' %> | ||
| 24 | + <div style='margin-left: 30px'> | ||
| 25 | + <%= _('<strong>After</strong> joining this group (a moderator can always desactivate access for users later).') %> | ||
| 26 | + </div> | ||
| 27 | + </div> | ||
| 9 | 28 | ||
| 10 | <% button_bar do %> | 29 | <% button_bar do %> |
| 11 | <%= submit_button(:save, _('Create')) %> | 30 | <%= submit_button(:save, _('Create')) %> |
| @@ -13,3 +32,5 @@ | @@ -13,3 +32,5 @@ | ||
| 13 | <% end %> | 32 | <% end %> |
| 14 | 33 | ||
| 15 | <% end %> | 34 | <% end %> |
| 35 | + | ||
| 36 | +</div> |