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