diff --git a/views/software_communities_plugin_myprofile/_public_software_info.html.erb b/views/software_communities_plugin_myprofile/_public_software_info.html.erb index c382a5e..1f3466c 100644 --- a/views/software_communities_plugin_myprofile/_public_software_info.html.erb +++ b/views/software_communities_plugin_myprofile/_public_software_info.html.erb @@ -1,50 +1,3 @@ -

<%= _('Edit software') %>

- -
-

<%= _("Operating Platform") %>

- <%= text_area_tag "software[operating_platform]", @software_info.operating_platform, :cols => 40, :rows => 5%> -
- -
-

<%= _("Features") %>

- <%= text_area_tag "software[features]", @software_info.features, :maxlength=>"4000", :cols => 40, :rows => 5%> -
- -
-

<%= _("Libraries") %>

- - <%= render :partial => 'library_fields', :locals => {:object_name => 'community', :profile => @community, :libraries => @list_libraries } %> -
-
- -
-

<%= _("Operating Systems") %>

- - <%= render :partial => 'operating_system_fields', :locals => {:object_name => 'community', :profile => @community, :operating_systems_fields => @list_operating_systems} %> -
-
- -
-
-

<%= _("Programming languages") %>

- - <%= render :partial => 'language_fields', :locals => { :object_name => 'community', :profile => @community, :languages => @list_languages } %> -
- -
-
-

<%= _("Databases") %>

- - <%= render :partial => 'database_fields', :locals => {:object_name => 'community', :profile => @community, :database => @list_databases } %> -
- -
-

<%= _("Demonstration url") %>

- <%= text_field_tag("software[demonstration_url]", @software_info.demonstration_url) %> -
- -
-
<% if @disabled_public_software_field == true %> <%= check_box_tag("software[public_software]", "true", @software_info.public_software?, :disabled => "disabled") %> @@ -101,3 +54,49 @@
+ +
+

<%= _("Operating Platform") %>

+ <%= text_area_tag "software[operating_platform]", @software_info.operating_platform, :cols => 40, :rows => 5%> +
+ +
+

<%= _("Features") %>

+ <%= text_area_tag "software[features]", @software_info.features, :maxlength=>"4000", :cols => 40, :rows => 5%> +
+ +
+

<%= _("Demonstration url") %>

+ <%= text_field_tag("software[demonstration_url]", @software_info.demonstration_url) %> +
+ +
+

<%= _("Libraries") %>

+ + <%= render :partial => 'library_fields', :locals => {:object_name => 'community', :profile => @community, :libraries => @list_libraries } %> +
+ +
+ +
+

<%= _("Operating Systems") %>

+ + <%= render :partial => 'operating_system_fields', :locals => {:object_name => 'community', :profile => @community, :operating_systems_fields => @list_operating_systems} %> +
+
+ +
+
+

<%= _("Programming languages") %>

+ + <%= render :partial => 'language_fields', :locals => { :object_name => 'community', :profile => @community, :languages => @list_languages } %> +
+ +
+
+

<%= _("Databases") %>

+ + <%= render :partial => 'database_fields', :locals => {:object_name => 'community', :profile => @community, :database => @list_databases } %> +
+ +
diff --git a/views/software_communities_plugin_myprofile/edit_software.html.erb b/views/software_communities_plugin_myprofile/edit_software.html.erb index f16d230..218014e 100644 --- a/views/software_communities_plugin_myprofile/edit_software.html.erb +++ b/views/software_communities_plugin_myprofile/edit_software.html.erb @@ -4,7 +4,7 @@ <%= labelled_form_for :community, :html => { :multipart => true, :id => 'edit-form' } do |f| %> - <% tabs << {:title => _("Software"), :id => 'basic-info', + <% tabs << {:title => _("Main Information"), :id => 'basic-info', :content => (render :partial => 'main_software_editor_extras', :locals => {:f => f})} %> <% tabs << {:title => _("Specifications"), :id => 'especific-info', -- libgit2 0.21.2