Changeset 1245

Show
Ignore:
Timestamp:
2008-11-06 11:15:40 (2 months ago)
Author:
gaspard
Message:

commit 72ede13edf19f4480c096507284a9594bbaa9a1c
Author: Gaspard Bucher <gaspard@teti.ch>

Dyn attributes edit fields should be on top of list.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/app/views/templates/edit_tabs/_title.rhtml

    r1184 r1245  
    11<label for="v_title"><%= _("title")  %></label> 
    22<%= text_field 'node', 'v_title', :size=>nil, :class => 'full_width' %> 
     3 
     4<% @node.dyn_attribute_keys.each do |k| -%> 
     5<label for="d_<%= k %>"><%= _(k) %></label> 
     6<%= text_area 'node', "d_#{k}", :cols=>nil, :rows=>2, :class => 'full_width' %> 
     7<% end -%> 
    38 
    49<label for='v_lang'><%= _("language") %></label> 
     
    1621<label for="v_comment"><%= _("comment") %></label> 
    1722<%= text_area 'node', 'v_comment', :cols=>nil, :rows=>2, :class => 'full_width' %> 
    18  
    19 <% @node.dyn_attribute_keys.each do |k| -%> 
    20 <label for="d_<%= k %>"><%= _(k) %></label> 
    21 <%= text_area 'node', "d_#{k}", :cols=>nil, :rows=>2, :class => 'full_width' %> 
    22 <% end -%>