X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/d154270c884fe196fb56fa3123183c3408a45ecc..1c9098d6313e24c7fd873859c7e10b81452f4bec:/redmine/redmine_publications/app/views/settings/_publications_settings.html.erb diff --git a/redmine/redmine_publications/app/views/settings/_publications_settings.html.erb b/redmine/redmine_publications/app/views/settings/_publications_settings.html.erb index 65e436eb..8ab2a7b7 100644 --- a/redmine/redmine_publications/app/views/settings/_publications_settings.html.erb +++ b/redmine/redmine_publications/app/views/settings/_publications_settings.html.erb @@ -1,4 +1,4 @@ -<% @tracker = Tracker.find(settings['tracker']) %> +<% @tracker = Tracker.find(@settings[:tracker] || 1) %>

@@ -8,6 +8,12 @@

- <%= text_field_tag 'settings[pattern]', @settings['pattern'] %> + <%= text_field_tag 'settings[pattern]', @settings[:pattern] || '' %>

+ +

+ + <%= text_field_tag 'settings[editorurl]', @settings[:editorurl] || '' %> +

+