diff options
| author | hukl <contact@smyck.org> | 2009-09-08 20:06:44 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-09-08 20:06:44 +0200 |
| commit | b48ee28e586fd75e84e33fabfcba70c05d32a606 (patch) | |
| tree | 3654bd300fa8a2a387c50b53d23c794da49762d0 /app/views/nodes/new.html.erb | |
| parent | b981d83e5e005817a67b11ccf92dd65bb506bcd4 (diff) | |
lots of gui improvements for creating nodes
Diffstat (limited to 'app/views/nodes/new.html.erb')
| -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 935e34f..e11030e 100644 --- a/app/views/nodes/new.html.erb +++ b/app/views/nodes/new.html.erb | |||
| @@ -5,16 +5,20 @@ | |||
| 5 | 5 | ||
| 6 | <p>What kind of node do you want to create?</p> | 6 | <p>What kind of node do you want to create?</p> |
| 7 | 7 | ||
| 8 | <% form_for nodes_path do %> | 8 | <% form_tag nodes_path do %> |
| 9 | <table id="new_node"> | 9 | <table id="new_node"> |
| 10 | <tr> | 10 | <tr> |
| 11 | <td class="description">Type</td> | 11 | <td class="description">Type</td> |
| 12 | <td> | 12 | <td> |
| 13 | <div> | 13 | <div> |
| 14 | <%= radio_button_tag :kind, "generic" %> | 14 | <%= radio_button_tag :kind, "top_level" %> |
| 15 | Generic ( can be created anywhere ) | 15 | Top Level |
| 16 | </div> | 16 | </div> |
| 17 | <p> | 17 | <p> |
| 18 | <%= radio_button_tag :kind, "generic", :selected => true %> | ||
| 19 | Generic ( can be created anywhere ) | ||
| 20 | </p> | ||
| 21 | <p> | ||
| 18 | <%= radio_button_tag :kind, "update" %> | 22 | <%= radio_button_tag :kind, "update" %> |
| 19 | Update / Press release ( is automatically created in /updates ) | 23 | Update / Press release ( is automatically created in /updates ) |
| 20 | </p> | 24 | </p> |
| @@ -24,7 +28,7 @@ | |||
| 24 | <td class="description">Title</td> | 28 | <td class="description">Title</td> |
| 25 | <td><%= text_field_tag :title %></td> | 29 | <td><%= text_field_tag :title %></td> |
| 26 | </tr> | 30 | </tr> |
| 27 | <tr> | 31 | <tr id="parent_search_field"> |
| 28 | <td class="description">Parent</td> | 32 | <td class="description">Parent</td> |
| 29 | <td> | 33 | <td> |
| 30 | <%= text_field_tag :parent_search_term %> | 34 | <%= text_field_tag :parent_search_term %> |
