diff --git a/public/style.css b/public/style.css index e1b698a..38100b8 100644 --- a/public/style.css +++ b/public/style.css @@ -156,3 +156,19 @@ color: red; content: ' (*)' } + +.helper-balloon { + display: none; + width: 142px; + height: 69px; + color: #FFFFFF; + font-weight: bold; + font-size: 11px; + padding: 5px 10px 45px 10px; + margin: 0; + line-height: 1.5em; + background: transparent url(/images/gray-balloon.png) bottom center no-repeat; + position: absolute; + margin-top: -110px; + margin-left: 0px; +} \ No newline at end of file diff --git a/views/mpog_software_plugin_myprofile/new_software.html.erb b/views/mpog_software_plugin_myprofile/new_software.html.erb index 8df6af5..6d05c3b 100644 --- a/views/mpog_software_plugin_myprofile/new_software.html.erb +++ b/views/mpog_software_plugin_myprofile/new_software.html.erb @@ -30,12 +30,14 @@
<%= environment.default_hostname %>/ <%= required text_field(:community, :name) %> + <%= content_tag(:small,_('Insert the name'), :id => 'name-balloon', :class => "helper-balloon") %>
<%= fields_for @software_info do |swf| %>
<%= swf.label("finality" ,_("Finality"), :class=>"formlabel") %> <%= required swf.text_field(:finality) %> + <%= content_tag(:small,_('Insert the finality'), :id => 'finality-balloon', :class => "helper-balloon") %>
<% end %> @@ -64,3 +66,21 @@ <% end %> + + + -- libgit2 0.21.2