From 629df6dbe4463b72e615e4f0374b02273f8cd6d7 Mon Sep 17 00:00:00 2001 From: man13 <man13@inf.ufpr.br> Date: Thu, 21 Jan 2016 09:26:46 -0200 Subject: [PATCH] fix upload form layout Signed-off-by: man13 <man13@inf.ufpr.br> --- app/views/learning_objects/_form.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/learning_objects/_form.html.erb b/app/views/learning_objects/_form.html.erb index ddcdb396..600e677d 100644 --- a/app/views/learning_objects/_form.html.erb +++ b/app/views/learning_objects/_form.html.erb @@ -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> -- GitLab