diff --git a/controllers/software_communities_plugin_myprofile_controller.rb b/controllers/software_communities_plugin_myprofile_controller.rb
index b4a3124..30af8d8 100644
--- a/controllers/software_communities_plugin_myprofile_controller.rb
+++ b/controllers/software_communities_plugin_myprofile_controller.rb
@@ -227,9 +227,12 @@ class SoftwareCommunitiesPluginMyprofileController < MyProfileController
add_software_erros
end
+
@error_community_name = @community.errors.include?(:name) ? "highlight-error" : ""
- @error_software_domain = @software_info.errors.include?(:domain) ? "highlight-error" : ""
+ @error_software_domain = @community.errors.include?(:identifier) ? "highlight-error" : ""
@error_software_finality = @software_info.errors.include?(:finality) ? "highlight-error" : ""
@error_software_license = @license_info.errors.include?(:version) ? "highlight-error" : ""
+
+ puts '='*80, @community.errors.include?(:identifier), '='*80
end
end
diff --git a/public/style.css b/public/style.css
index 88ee0ae..0da90d5 100644
--- a/public/style.css
+++ b/public/style.css
@@ -534,6 +534,6 @@ div#finality textarea {
height: 100px;
}
-.highlight-error {
- background-color: #FF0000;
+.highlight-error label {
+ color: #FF0000 !important;
}
\ No newline at end of file
diff --git a/views/software_communities_plugin_myprofile/new_software.html.erb b/views/software_communities_plugin_myprofile/new_software.html.erb
index ca35dd1..ad9795d 100644
--- a/views/software_communities_plugin_myprofile/new_software.html.erb
+++ b/views/software_communities_plugin_myprofile/new_software.html.erb
@@ -41,7 +41,7 @@
-