diff options
| author | Marc Florisson | 2012-06-29 10:26:59 +0200 | 
|---|---|---|
| committer | Marc Florisson | 2012-06-29 10:26:59 +0200 | 
| commit | 80bc3154ce5314653e4f3a19dcb8d3da056ce159 (patch) | |
| tree | 2a84058af0fecb7db8952338bd74fdfa0a9a7120 /app/views/journey_patterns | |
| parent | a46b9975c0b9257cb7749201a8bea520e0532a85 (diff) | |
| download | chouette-core-80bc3154ce5314653e4f3a19dcb8d3da056ce159.tar.bz2 | |
journey_pattern edit: add links to line and route
Diffstat (limited to 'app/views/journey_patterns')
| -rw-r--r-- | app/views/journey_patterns/edit.html.erb | 13 | 
1 files changed, 13 insertions, 0 deletions
| diff --git a/app/views/journey_patterns/edit.html.erb b/app/views/journey_patterns/edit.html.erb index 33fac2a6c..33adb6d7d 100644 --- a/app/views/journey_patterns/edit.html.erb +++ b/app/views/journey_patterns/edit.html.erb @@ -1,4 +1,17 @@  <%= title_tag t('journey_patterns.edit.title', :journey_pattern => @journey_pattern.name ) %> +<div class="journey_pattern"> +  <div class="summary"> +    <p> +      <label><%= @route.human_attribute_name(:line) %>: </label> +      <%= link_to line_formatted_name( @line), [@referential, @line] %> +    </p> +    <p> +      <label><%= Chouette::Route.model_name.human %>: </label> +      <%= link_to @route.name, [@referential, @line, @route] %> +    </p> +  <div> +<div> +  <%= render "form" %> | 
