Skip to content
Snippets Groups Projects
Commit 629df6db authored by Matheus Agio Nerone's avatar Matheus Agio Nerone
Browse files

fix upload form layout


Signed-off-by: default avatarman13 <man13@inf.ufpr.br>
parent f111faf5
No related branches found
No related tags found
No related merge requests found
......@@ -34,9 +34,10 @@
<%= f.text_field :author, class: "form-control" %><br>
<%= f.label :type, "Tipo do objeto" %>
<%= @types.each do |type| %>
<input type="radio" name="learning_object[type]" value="<%= type %>"> <%= type %>
<% @types.each do |type| %>
<br><input type="radio" name="learning_object[type]" value="<%= type %>"> <%= type %>
<% end %>
<br><br>
<%= f.label :subjects, "Assuntos" %>
<select id='subjectSelect' name="learning_object[subjects][]" multiple>
......@@ -55,7 +56,6 @@
<br><br>
<%= f.submit 'Criar Objeto' %>
</fieldset>
<%= link_to "Voltar", me_users_path %>
</div>
</div>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment