Skip to content

Commit

Permalink
Update _template.html.erb
Browse files Browse the repository at this point in the history
Added in the "pre-populate records" option into the template, to be compatible with version 1.4.x (is there any way to do this in plugins without hardcoding the option, with some sort of include option from the master template file, perhaps?)
  • Loading branch information
fordmadox committed Mar 23, 2016
1 parent 2e818bc commit 215f67b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/views/defaults/_template.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
<h3><%= I18n.t "defaults.general_section" %></h3>
<%= form.label_and_boolean "show_suppressed", {}, form.default_for("show_suppressed") %>
<%= form.label_and_boolean "publish", {}, form.default_for("publish") %>

<%= form.label_and_boolean "default_values", {}, form.default_for("default_values") %>

<h3><%= I18n.t "defaults.accession_browse_section" %></h3>
<%=
out = ''
Expand Down

0 comments on commit 215f67b

Please sign in to comment.