Skip to content

Commit

Permalink
Merge pull request #2007 from tvdeyen/allow-to-safe-hidden-elements
Browse files Browse the repository at this point in the history
Allow to safe hidden elements
  • Loading branch information
tvdeyen authored Jan 25, 2021
2 parents 7db7c4f + 9c92f6a commit efd7fea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/alchemy/admin/elements/_element_footer.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</p>
<% end %>

<button type="submit" <%= "disabled" unless element.public? %> form="element_<%= element.id %>_form" class="button" data-alchemy-button>
<button type="submit" form="element_<%= element.id %>_form" class="button" data-alchemy-button>
<%= Alchemy.t(:save) %>
</button>
</div>

0 comments on commit efd7fea

Please sign in to comment.