diff --git a/public/style.css b/public/style.css index 7f5becf..e1b698a 100644 --- a/public/style.css +++ b/public/style.css @@ -150,3 +150,9 @@ min-width: 190px; border-spacing: 20px; } + +.mandatory::after +{ + color: red; + content: ' (*)' +} diff --git a/views/mpog_software_plugin_myprofile/new_software.html.erb b/views/mpog_software_plugin_myprofile/new_software.html.erb index 0280386..8df6af5 100644 --- a/views/mpog_software_plugin_myprofile/new_software.html.erb +++ b/views/mpog_software_plugin_myprofile/new_software.html.erb @@ -25,7 +25,7 @@ <%= required_fields_message %> - <%= label("name", _('Name'), {:class => 'formlabel'}) %> + <%= label("name", _('Name'), {:class => 'formlabel mandatory'}) %>
<%= environment.default_hostname %>/ -- libgit2 0.21.2