AlchemyCMS/alchemy_cms

View on GitHub
app/views/alchemy/admin/elements/_footer.html.erb

Summary

Maintainability
Test Coverage
<div class="element-footer">
  <% if element.has_validations? %>
    <p class="validation_notice">
      <span class="validation_indicator">*</span> <%= Alchemy.t('Mandatory') %>
    </p>
  <% end %>

  <button type="submit" form="element_<%= element.id %>_form" is="alchemy-button" data-turbo="false">
    <%= Alchemy.t(:save) %>
  </button>
</div>