Prevent saving when textbook is in invalid state
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<form class="edit-textbook" id="edit_textbook_form">
|
||||
<div class="wrapper-form">
|
||||
<% if (errors) { %>
|
||||
<% if (error) { %>
|
||||
<div id="edit_textbook_error" class="message message-status message-status error" name="edit_textbook_error">
|
||||
<%= errors %>
|
||||
<%= error %>
|
||||
</div>
|
||||
<% } %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user