Don't erase old publcations, so that the relations don't disappear.
[redakcja_redmine.git] / app / views / settings / _publications_settings.html.erb
1 <% @project = Project.find(:first, :conditions => ["id = ?", @settings[:project]]) %>
2 <fieldset>
3 <p>
4   <label for="settings[project]">Użyj w projektcie: </label>
5   <%= collection_select(:project, :id, Project.all, :id, :name, {}, {:name => "settings[project]"}) %>
6 </p>
7
8 <p>
9   <label for="settings[pattern]">Filtr publikacji: </label>
10   <%= text_field_tag 'settings[pattern]', @settings[:pattern] || '' %>
11 </p>
12
13 <p>
14   <label for="settings[editorurl]">Docelowy URL: </label>
15   <%= text_field_tag 'settings[editorurl]', @settings[:editorurl] || '' %>
16 </p>
17
18 </fieldset>