diff options
| author | Marc Florisson | 2012-09-11 10:09:01 +0200 |
|---|---|---|
| committer | Marc Florisson | 2012-09-11 10:09:01 +0200 |
| commit | 1d5231408247ea87b25182d84f666520360d6449 (patch) | |
| tree | 88c7137e78ce2ee27fa94989af03c1a6ef7d9bb4 | |
| parent | 8024e9a869c3eeb4ca752206a7fb3add9559de13 (diff) | |
| download | chouette-core-1d5231408247ea87b25182d84f666520360d6449.tar.bz2 | |
time_table#new objectid required test
| -rw-r--r-- | app/views/time_tables/_form.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/time_tables/_form.erb b/app/views/time_tables/_form.erb index 2b97a43e2..fbced7bd4 100644 --- a/app/views/time_tables/_form.erb +++ b/app/views/time_tables/_form.erb @@ -14,7 +14,7 @@ <%= form.input :sunday, :as => :boolean %> <% end %> <%= form.inputs do %> - <%= form.input :objectid, :input_html => { :disabled => !@time_table.new_record? } %> + <%= form.input :objectid, :required => !@time_table.new_record?, :input_html => { :disabled => !@time_table.new_record? } %> <% end %> <%= form.actions do %> |
