diff --git a/app/views/learning_objects/_form.html.erb b/app/views/learning_objects/_form.html.erb index 45ae1d90d9a2011662e8dae014a0c3a2dbb5f910..d7095a91a2d9f52a34a677e1b7ae1c1077bbfa05 100644 --- a/app/views/learning_objects/_form.html.erb +++ b/app/views/learning_objects/_form.html.erb @@ -13,19 +13,21 @@ <div class="row"> <div class="col-md-12"> - Upload de arquivos + </div> <div class="row"> <div class="col-md-12"> + <fieldset> + <legend><h1>Upload de arquivos</h1></legend> <%= f.label :author, "Autor" %> - <%= f.text_field :author %><br> + <%= f.text_field :author, class: "form-control"%><br> <%= f.label :name, "TÃtulo" %> - <%= f.text_field :name %> <br> + <%= f.text_field :name, class: "form-control"%> <br> <%= f.label :description, "Descrição" %> - <%= f.text_field :description %><br> + <%= f.text_field :description, class: "form-control" %><br> <%= f.label :language, "Linguagem" %> - <%= f.text_field :language %><br> + <%= f.text_field :language, class: "form-control" %><br> <!-- <%= f.label :source, "Fonte" %> <%= f.text_field :source %><br> <%= f.label :type, "Tipo de objeto" %> @@ -36,6 +38,7 @@ <%= f.text_field :copyright %><br> <%= f.label :country, "Pais" %> <%= f.text_field :country %> <br> --> + <%= f.label :subjects, "Assuntos" %> <select id='subjectSelect' name="learning_object[subjects][]" multiple> <%= @subjects.each do |subject| %> <option value='<%= subject %>'><%= subject %></option> @@ -43,15 +46,20 @@ </select> <!-- <%= f.label :keywords, "Palavras-chave" %> <%= f.text_field :keywords %> <br> --> + <br><br> + <%= f.label :school_level, "NÃvel Escolar" %><br> <select name="learning_object[school_level]"> <%= @school_levels.each do |school_level|%> <option value="<%= school_level %>"><%= school_level %></option> <% end %> </select> + <br> + <br> <%= f.file_field :file %> <br> <br> <%= f.submit %> + </fieldset> </div> </div> </div>