diff --git a/lib/database_helper.rb b/lib/database_helper.rb index f435078..8d5e746 100644 --- a/lib/database_helper.rb +++ b/lib/database_helper.rb @@ -58,13 +58,13 @@ module DatabaseHelper content_tag('tr', content_tag('td', label_tag(_("Version")))+ - content_tag('td', text_field_tag("database[][version]", database_data[:version]))+ + content_tag('td', text_field_tag("database[][version]", database_data[:version], :maxlength=>"20"))+ content_tag('td') )+ content_tag('tr', content_tag('td', label_tag(_("Operating System")))+ - content_tag('td', text_field_tag("database[][operating_system]", database_data[:operating_system]))+ + content_tag('td', text_field_tag("database[][operating_system]", database_data[:operating_system], :maxlength=>"20"))+ content_tag('td', button_without_text(:delete, _('Delete'), "#" , :class=>"delete-dynamic-table"), :align => 'right') ), :class => 'dynamic-table database-table' ) diff --git a/views/mpog_software_plugin_myprofile/_public_software_info.html.erb b/views/mpog_software_plugin_myprofile/_public_software_info.html.erb index 021ce16..a3acd77 100644 --- a/views/mpog_software_plugin_myprofile/_public_software_info.html.erb +++ b/views/mpog_software_plugin_myprofile/_public_software_info.html.erb @@ -2,7 +2,7 @@