transferred Code Ocean from original repository to GitHub
This commit is contained in:
9
app/views/code_ocean/files/_form.html.slim
Normal file
9
app/views/code_ocean/files/_form.html.slim
Normal file
@ -0,0 +1,9 @@
|
||||
= form_for(CodeOcean::File.new) do |f|
|
||||
.form-group
|
||||
= f.label(:name, t('activerecord.attributes.file.name'))
|
||||
= f.text_field(:name, class: 'form-control', required: true)
|
||||
.form-group
|
||||
= f.label(:file_type_id, t('activerecord.attributes.file.file_type_id'))
|
||||
= f.collection_select(:file_type_id, FileType.where(binary: false), :id, :name, {}, class: 'form-control')
|
||||
= f.hidden_field(:context_id)
|
||||
.actions = render('shared/submit_button', f: f, object: CodeOcean::File.new)
|
Reference in New Issue
Block a user