diff --git a/app/views/memberships/new_community.rhtml b/app/views/memberships/new_community.rhtml index 9bb55d3..2b7d6bc 100644 --- a/app/views/memberships/new_community.rhtml +++ b/app/views/memberships/new_community.rhtml @@ -1,11 +1,30 @@ +

<%= __('Creating new community') %>

+ <%= error_messages_for :community %> +
<% labelled_form_for :community, @community do |f| %> - <%= f.text_field :name %> + <%= f.text_field :name, :style => 'width: 100%' %> + + <%= f.text_area :description, :style => 'width: 100%; height: 150px;' %> - <%= f.text_area :description %> +
+ <%= _('New members must be approved:')%> +
+
+ <%= radio_button 'community', 'closed', 'true', :style => 'float: left' %> +
+ <%= _('Before joining this group (a moderator has to accept the member in pending request before member can access the intranet and/or the website).') %> +
+
+
+ <%= radio_button 'community', 'closed', 'false', :style => 'float: left' %> +
+ <%= _('After joining this group (a moderator can always desactivate access for users later).') %> +
+
<% button_bar do %> <%= submit_button(:save, _('Create')) %> @@ -13,3 +32,5 @@ <% end %> <% end %> + +
-- libgit2 0.21.2