app/views/audit/admin/checks/edit.html.erb in rails_audit-1.0.2 vs app/views/audit/admin/checks/edit.html.erb in rails_audit-1.0.3
- old
+ new
@@ -3,7 +3,14 @@
<div class="divider"> / </div>
<div class="active section">Edit</div>
</div>
<div class="ui segment">
- <%= render 'form' %>
-</div>
\ No newline at end of file
+ <%= form_with model: @check, local: true do |f| %>
+ <%= render 'shared/error_messages', target: @check %>
+ <%= f.number_field :member_id %>
+ <%= f.text_field :comment %>
+ <%= f.check_box :confirmed %>
+ <%= f.number_field :position %>
+ <%= f.submit %>
+ <% end %>
+</div>