- <%= label_tag _("Internacionalizable ?") %>
-
- <%= label_tag "intern_true", "Yes" %>
- <%= radio_button_tag(:intern,true)%>
- <%= label_tag "intern_false", "No"%>
- <%= radio_button_tag(:intern,false)%>
-
-
<%= _("Software Categories:") %>
-
- <%= check_box_tag :administration %>
- <%= label_tag :administration, _("Administration") %>
-
- <%= check_box_tag :agriculture %>
- <%= label_tag :agriculture, _("Agriculture") %>
-
- <%= check_box_tag :business_and_services %>
- <%= label_tag :business_and_services, _("Business_and Services") %>
-
- <%= check_box_tag :communication %>
- <%= label_tag :communication, _("Communication") %>
-
- <%= check_box_tag :culture %>
- <%= label_tag :culture, _("Culture") %>
-
- <%= check_box_tag :national_defense %>
- <%= label_tag :national_defense, _("National Defense") %>
-
- <%= check_box_tag :economy_and_finances %>
- <%= label_tag :economy_and_finances, _("Economy and Finances") %>
-
- <%= check_box_tag :education %>
- <%= label_tag :education, _("Education") %>
-
- <%= check_box_tag :energy %>
- <%= label_tag :energy, _("Energy") %>
-
- <%= check_box_tag :sports %>
- <%= label_tag :sports, _("Sports") %>
-
- <%= check_box_tag :habitation %>
- <%= label_tag :habitation, _("Habitation") %>
-
- <%= check_box_tag :industry %>
- <%= label_tag :industry, _("Industry") %>
-
- <%= check_box_tag :environment %>
- <%= label_tag :environment, _("Environment") %>
-
- <%= check_box_tag :research_and_development %>
- <%= label_tag :research_and_development, _("Research and Development") %>
-
- <%= check_box_tag :social_security %>
- <%= label_tag :social_security, _("Social Security") %>
-
- <%= check_box_tag :social_protection %>
- <%= label_tag :social_protection, _("Social Protection") %>
-
- <%= check_box_tag :sanitation %>
- <%= label_tag :sanitation, _("Sanitation") %>
-
- <%= check_box_tag :health %>
- <%= label_tag :health, _("Health") %>
-
- <%= check_box_tag :security_public_order %>
- <%= label_tag :security_public_order, _("Security and Public Order") %>
+
<%= _('Edit software') %>
+
+
+ <%= label_tag("acronym" ,_("Acronym"), :class=>"formlabel") %>
+ <%= text_field_tag(:acronym) %>
+
+
+
+ <%= label_tag _("Adherent to e-PING ?") %>
+
+ <%= label_tag "e_ping_true", "Yes" %>
+ <%= radio_button_tag(:e_ping,true)%>
+ <%= label_tag "e_ping_false", "No"%>
+ <%= radio_button_tag(:e_ping,false)%>
+
+
+
+ <%= label_tag _("Adherent to e-MAG ?") %>
+
+ <%= label_tag "e_mag_true", "Yes"%>
+ <%= radio_button_tag(:e_mag,true)%>
+ <%= label_tag "e_mag_false", "No"%>
+ <%= radio_button_tag(:e_mag,false)%>
+
+
+
+ <%= label_tag _("Adherent to ICP-Brasil ?") %>
+
+ <%= label_tag "icp_brasil_true", "Yes"%>
+ <%= radio_button_tag(:icp_brasil,true)%>
+ <%= label_tag "icp_brasil_false", "No"%>
+ <%= radio_button_tag(:icp_brasil,false)%>
+
+
+
+ <%= label_tag _("Adherent to e-ARQ ?") %>
+
+ <%= label_tag "e_arq_true", "Yes"%>
+ <%= radio_button_tag(:e_arq,true)%>
+ <%= label_tag "e_arq_false", "No"%>
+ <%= radio_button_tag(:e_arq,false)%>
+
+
+
+ <%= label_tag _("Internacionalizable ?") %>
+
+ <%= label_tag "intern_true", "Yes" %>
+ <%= radio_button_tag(:intern,true)%>
+ <%= label_tag "intern_false", "No"%>
+ <%= radio_button_tag(:intern,false)%>
+
+ <%= label_tag "operating_platform", _("Operating Platform: ") %>
+ <%= text_area_tag :operating_platform %>
+
+
+
+ <%= label_tag "objectives", _("Objectives: ")%>
+ <%= text_area_tag :objectives %>
+
+
+
+ <%= label_tag "features", _("Features: ")%>
+ <%= text_area_tag :features %>
+
+
+
+
<%= _("Libraries") %>
+ <% if @list_libraries.blank? %>
+ <%= LibraryHelper.library_as_tables(nil).call %>
+ <% else %>
+ <%= render :partial => 'library_fields', :locals => { :f => f, :object_name => 'community', :profile => @community, :libraries => @list_libraries } %>
+ <% end %>
+
+
+
+
+
<%= _("Operating Systems") %>
+ <% if @list_operating_systems.blank? %>
+ <%= OperatingSystemHelper.operating_system_as_tables(nil, false).call %>
+ <% else %>
+ <%= render :partial => 'operating_system_fields', :locals => {:object_name => 'community', :profile => @community, :operating_systems_fields => @list_operating_systems} %>
+ <% end %>
+
+
+
+
+
+
<%= _("Programming languages") %>
+ <% if @list_languages.blank? %>
+ <%= SoftwareLanguageHelper.language_as_tables(nil, false).call %>
+ <% else %>
+ <%= render :partial => 'language_fields', :locals => { :object_name => 'community', :profile => @community, :languages => @list_languages } %>
+ <% end %>
+
+
+
+
+
<%= _("Databases") %>
+ <% if @list_databases.blank? %>
+ <%= DatabaseHelper.database_as_tables(nil, true).call %>
+ <% else %>
+ <%= render :partial => 'database_fields', :locals => {:object_name => 'community', :profile => @community, :database => @list_databases } %>
+ <% end %>
+
+
+
+
<%= _("Software Categories:") %>
+
+ <%= check_box_tag :administration %>
+ <%= label_tag :administration, _("Administration") %>
+
+ <%= check_box_tag :agriculture %>
+ <%= label_tag :agriculture, _("Agriculture") %>
+
+ <%= check_box_tag :business_and_services %>
+ <%= label_tag :business_and_services, _("Business_and Services") %>
+
+ <%= check_box_tag :communication %>
+ <%= label_tag :communication, _("Communication") %>
+
+ <%= check_box_tag :culture %>
+ <%= label_tag :culture, _("Culture") %>
+
+ <%= check_box_tag :national_defense %>
+ <%= label_tag :national_defense, _("National Defense") %>
+
+ <%= check_box_tag :economy_and_finances %>
+ <%= label_tag :economy_and_finances, _("Economy and Finances") %>
+
+ <%= check_box_tag :education %>
+ <%= label_tag :education, _("Education") %>
+
+ <%= check_box_tag :energy %>
+ <%= label_tag :energy, _("Energy") %>
+
+ <%= check_box_tag :sports %>
+ <%= label_tag :sports, _("Sports") %>
+
+ <%= check_box_tag :habitation %>
+ <%= label_tag :habitation, _("Habitation") %>
+
+ <%= check_box_tag :industry %>
+ <%= label_tag :industry, _("Industry") %>
+
+ <%= check_box_tag :environment %>
+ <%= label_tag :environment, _("Environment") %>
+
+ <%= check_box_tag :research_and_development %>
+ <%= label_tag :research_and_development, _("Research and Development") %>
+
+ <%= check_box_tag :social_security %>
+ <%= label_tag :social_security, _("Social Security") %>
+
+ <%= check_box_tag :social_protection %>
+ <%= label_tag :social_protection, _("Social Protection") %>
+
+ <%= check_box_tag :sanitation %>
+ <%= label_tag :sanitation, _("Sanitation") %>
- <%= check_box_tag :work %>
- <%= label_tag :work, _("Work") %>
-
- <%= check_box_tag :transportation %>
- <%= label_tag :transportation, _("Transportation") %>
+ <%= check_box_tag :health %>
+ <%= label_tag :health, _("Health") %>
+
+ <%= check_box_tag :security_public_order %>
+ <%= label_tag :security_public_order, _("Security and Public Order") %>
- <%= check_box_tag :urbanism %>
- <%= label_tag :urbanism, _("Urbanism") %>
-
-
+ <%= check_box_tag :work %>
+ <%= label_tag :work, _("Work") %>
+
+ <%= check_box_tag :transportation %>
+ <%= label_tag :transportation, _("Transportation") %>
+
+ <%= check_box_tag :urbanism %>
+ <%= label_tag :urbanism, _("Urbanism") %>
\ No newline at end of file
diff --git a/views/mpog_software_plugin_myprofile/edit_software.html.erb b/views/mpog_software_plugin_myprofile/edit_software.html.erb
index 5407b7c..1c8ab4c 100644
--- a/views/mpog_software_plugin_myprofile/edit_software.html.erb
+++ b/views/mpog_software_plugin_myprofile/edit_software.html.erb
@@ -1,7 +1,9 @@
-<%= _("Basic") %>
+<% tabs = [] %>
-<%= render :partial => 'main_software_editor_extras' %>
+<% tabs << {:title => _("Basic"), :id => 'basic-info',
+ :content => (render :partial => 'main_software_editor_extras')} %>
-<%= _("Especific") %>
+<% tabs << {:title => _("Especific"), :id => 'especific-info',
+ :content => (render :partial => 'public_software_info')} %>
-<%= render :partial => 'public_software_info' %>
+<%= render_tabs(tabs) %>
--
libgit2 0.21.2