1
0

Fixed fieldset toggling

This commit is contained in:
cryptogopher 2019-11-11 15:21:05 +01:00
parent 2e477921e9
commit fd11198446
2 changed files with 49 additions and 45 deletions

View File

@ -1,5 +1,6 @@
<fieldset id="filters" class="collapsible">
<legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend>
<div>
<%= error_messages_for @formula_q %>
<%= form_tag url, id: 'filters_form', method: :get, remote: true do %>
@ -32,4 +33,5 @@
</tr>
</table>
<% end %>
</div>
</fieldset>

View File

@ -1,5 +1,6 @@
<fieldset id="options" class="collapsible">
<legend onclick="toggleFieldset(this);"><%= l(:label_options) %></legend>
<div>
<%= form_tag toggle_nutrient_column_project_ingredients_path(@project),
id: 'add_nutrient_column', method: :post, remote: true do %>
<table>
@ -14,6 +15,7 @@
</tr>
</table>
<% end %>
</div>
</fieldset>
<table class="list" style="border:none; width:100%">