Skip to content

Commit

Permalink
Release v0.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
UweKubosch committed Jan 6, 2024
1 parent 6c55e94 commit 6489a5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

group 'no.datek'
version '0.11.7'
version '0.12.0'
final String JRUBY_VERSION = '9.4.5.0';

repositories {
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/ruby/form_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def select_input(object, field_name, option_map = [], **opts)
field_value = selected || object_field_value(object, field_name)

if field_value.empty? && prompt
html << %{<option value="">#{TrueClass === prompt ? '' : CGI.escapeHTML(prompt.to_s)}</option>}
html << %{<option value="">#{TrueClass === prompt ? "(#{message['text.none']})" : CGI.escapeHTML(prompt.to_s)}</option>}
end

selected_values = multiple ? field_value.split(',') : [field_value]
Expand Down

0 comments on commit 6489a5b

Please sign in to comment.