1
0

Added MealsController#toggle_exposure

This commit is contained in:
cryptogopher
2020-04-25 15:52:35 +02:00
parent a4781b4fcd
commit ab8ed92929
5 changed files with 24 additions and 10 deletions

View File

@@ -8,7 +8,8 @@
<table>
<tr>
<td style="width:100%"></td>
<td><%= select_tag 'quantity_id', toggle_column_options %></td>
<td><%= select_tag 'quantity_id',
toggle_exposure_options(@project.meal_exposures, :diet) %></td>
<td><%= submit_tag l(:button_add) %></td>
</tr>
</table>