Changed Ruby syntax in views. Fixed #1326
This commit is contained in:
parent
b0a84ad1c6
commit
1ca448df6f
74 changed files with 371 additions and 376 deletions
|
|
@ -1,8 +1,8 @@
|
|||
<div class="nested-fields">
|
||||
<%= f.inputs do %>
|
||||
<%= f.input :title %>
|
||||
<%= f.input :description, :input_html => {:rows => "2", :class => "col-md-8"}%>
|
||||
<%= f.input :vdays, :collection => @conference.vdays.map {|x| [x.day, x.id]}, :label => "Position is required for the following days:"%>
|
||||
<%= f.input :description, input_html: {rows: '2', class: 'col-md-8'}%>
|
||||
<%= f.input :vdays, collection: @conference.vdays.map {|x| [x.day, x.id]}, label: 'Position is required for the following days:'%>
|
||||
<%= remove_association_link :vposition, f %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue