diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2025-02-06 16:49:06 +0100 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2025-02-06 16:49:06 +0100 |
| commit | 375ed745052148faeb34763087fe04214105f1b8 (patch) | |
| tree | 595456cf631087b5530bf5470529faeead1a0aaf /app/views/nodes | |
| parent | 38d80f0af731326fcd5ae16c0129a056eff2fe32 (diff) | |
Improve worklflow
Diffstat (limited to 'app/views/nodes')
| -rw-r--r-- | app/views/nodes/new.html.erb | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/app/views/nodes/new.html.erb b/app/views/nodes/new.html.erb index 850207b..7d744de 100644 --- a/app/views/nodes/new.html.erb +++ b/app/views/nodes/new.html.erb | |||
| @@ -20,7 +20,11 @@ | |||
| 20 | </p> | 20 | </p> |
| 21 | <p> | 21 | <p> |
| 22 | <%= radio_button_tag :kind, "update" %> | 22 | <%= radio_button_tag :kind, "update" %> |
| 23 | Update / Press release ( is automatically created in /updates ) | 23 | Update ( is automatically created in /updates/<%= Time.now.year.to_s %>/ and gets tag "update" ) |
| 24 | </p> | ||
| 25 | <p> | ||
| 26 | <%= radio_button_tag :kind, "press_release" %> | ||
| 27 | Pressemitteilung ( is automatically created in /updates/<%= Time.now.year.to_s %>/ and gets tags "update, pressemitteilung" ) | ||
| 24 | </p> | 28 | </p> |
| 25 | </td> | 29 | </td> |
| 26 | </tr> | 30 | </tr> |
| @@ -31,8 +35,8 @@ | |||
| 31 | <tr id="parent_search_field"> | 35 | <tr id="parent_search_field"> |
| 32 | <td class="description">Parent</td> | 36 | <td class="description">Parent</td> |
| 33 | <td> | 37 | <td> |
| 34 | <%= text_field_tag :parent_search_term %> | 38 | <%= text_field_tag :parent_search_term, @parent_name %> |
| 35 | <%= hidden_field_tag :parent_id %> | 39 | <%= hidden_field_tag :parent_id, @parent_id %> |
| 36 | <div id="search_results"> | 40 | <div id="search_results"> |
| 37 | 41 | ||
| 38 | </div> | 42 | </div> |
| @@ -43,4 +47,4 @@ | |||
| 43 | <td class="right"><%= submit_tag "Create" %></td> | 47 | <td class="right"><%= submit_tag "Create" %></td> |
| 44 | </tr> | 48 | </tr> |
| 45 | </table> | 49 | </table> |
| 46 | <% end %> \ No newline at end of file | 50 | <% end %> |
