{{define "content"}}
| Dispositif | Structure | Lieu | Dates | Places disponibles | Bénéficiaires positionnés | Actions | 
|---|---|---|---|---|---|---|
| 
                                         {{.Name}} 
                                        {{.Type}} 
                                     | 
                                    
                
                                         
                                            {{range .Owners}}
                                            {{if (index $.ViewState.groups .)}}
                                                {{(index $.ViewState.groups .).Data.name}}
                                            {{end}}
                                            {{end}}
                                         
                                     | 
                                    
                                         {{if .Data.address}}{{.Data.address.properties.label}}{{end}} 
                                     | 
                                    
                                         
                                            {{if eq .Startdate .Enddate}}
                                            Le {{(timeFrom .Startdate).Format "02/01/2006"}}
                                            {{else}}
                                            Du {{(timeFrom .Startdate).Format "02/01/2006"}}  
                                    Au {{(timeFrom .Enddate).Format "02/01/2006"}} {{end}}  | 
                                    
                                        {{if ne .RemainingSubscriptions 999}}
                                         {{.RemainingSubscriptions}} 
                                        {{end}}
                                     | 
                                    
                                         
                                            {{range .Subscriptions}}
                                             
                                     | 
                                    Voir |