diff options
| author | Michel Etienne | 2012-05-04 19:03:31 +0200 |
|---|---|---|
| committer | Michel Etienne | 2012-05-04 19:03:31 +0200 |
| commit | ac2d20a91f25981c4f39f2b2ed02d8a28075be78 (patch) | |
| tree | bb846474d7921a6225a4e83f1ca50f992532d024 | |
| parent | 8275fbbb2924e62f598335e6d06f0350605fa8d6 (diff) | |
| download | chouette-core-ac2d20a91f25981c4f39f2b2ed02d8a28075be78.tar.bz2 | |
manage list with cocoon
| -rw-r--r-- | app/views/time_tables/_period_fields.erb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/time_tables/_period_fields.erb b/app/views/time_tables/_period_fields.erb new file mode 100644 index 000000000..615a6f6f1 --- /dev/null +++ b/app/views/time_tables/_period_fields.erb @@ -0,0 +1,5 @@ +<%= f.inputs :class => 'periods' do %> + <%= f.input :period_start, :as => :date , :label => @time_table.human_attribute_name("period_start")%> + <%= f.input :period_end, :as => :date , :label => @time_table.human_attribute_name("period_end")%> + <%= link_to_remove_association t('actions.destroy'), f %> +<% end %> |
