Der Helper tut nicht so wie ich will. #3787

pull/6827/head
Felix Schäfer 14 years ago
parent 78d121a05b
commit f5c81892af
  1. 3
      app/views/meetings/_form.html.erb

@ -4,6 +4,5 @@
<p><%= f.text_field :title, :required => true, :size => 60 %></p>
<p><%= f.text_field :location, :size => 60 %></p>
<p><%= f.text_field :start_date, :size => 10 %><%= calendar_for('meeting_start_date') %> <%= time_select("meeting", "start_time", :ignore_date => true) %></p>
<!-- TODO: Irgendwie spuckt das Teil bei nicht-gespeichertem Meeting (wegen validation fail) den "echten" Attribut-Wert statt den des überladenen getters aus -->
<p><%= f.text_field :duration, :size => 5 %> <em>(in hours)</em></p>
<p><label for="meeting_duration"><%= l(:field_duration)%></label><%= text_field_tag "meeting[duration]", @meeting.duration, :size => 5 %> <em>(in hours)</em></p>
</div>
Loading…
Cancel
Save