Skip to content

Commit

Permalink
just edit mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
xuling1979 committed Jan 5, 2025
1 parent 638c3ef commit ab8356b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions app/views/datum/admin/templates/_file_form.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<%= f.hidden_field :uploaded_at, value: Time.current %>
<%= f.text_field :name %>
<%= f.text_field :code %>
<%= f.file_field :file %>
2 changes: 0 additions & 2 deletions app/views/datum/admin/templates/_form.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
<%= f.hidden_field :uploaded_at, value: Time.current %>
<%= f.text_field :name %>
<%= f.text_field :code %>
<%= f.file_field :file %>

0 comments on commit ab8356b

Please sign in to comment.