anchor.diff:      <%= form_for Resource.new, html: { :multipart => true, :'data-type' => 'json', id: 'create_resource_form' }  do |f| %>
         <%= label_tag(:title, t('resources.title_label')) %>
         <%= f.text_field :title  %>
  -
  -      Upload Link:<br/>
  -      <%= label_tag(:link, t('resources.link_label')) %>
  -      <%= f.text_field :link  %>
  -
  -      or <br/><br/>
   
         Upload File: <br/>
   
  
positive.code: </div>
  
  
  <div id="uploadResourceModal" class="modal hide fade in" tabindex="-1" role="dialog" aria-labelledby="uploadResourceModalLabel" aria-hidden="true" >
    <div class="modal-header"><h1><%= t('resources.form_upload_label') %></h1></div>
    <div class="modal-body">
      <div id="uploadResourcesErrors"></div>
  
negative.code:       </div>
        
        <%= link_to("Upload", '#', :class=>"btn btn-primary start", :id=>"submit-resource-form") %>
        <%= link_to("Cancel", '#', :class=>"btn btn start", "data-dismiss"=>"modal") %>
      <% end %>
  
    </div>
    <div class="modal-header"></div>
  </div>
  
  
  <div id="uploadResourceLinkModal" class="modal hide fade in" tabindex="-1" role="dialog" aria-labelledby="uploadResourceModalLabel" aria-hidden="true" >
    <button type="button" class="close" data-dismiss='modal' style="margin-right:10px;" >&times;</button>
  
    <div class="modal-header"><h1><%= t('resources.form_upload_label') %></h1></div>
    <div class="modal-body">
      <div id="uploadResourcesErrors"></div>
      Grade: <br/>
      Subject: <br/>
      Tags: <br/><br/>
  
    
      <%= form_for Resource.new, html: { :multipart => true, :'data-type' => 'json', id: 'create_resource_form' }  do |f| %>
        Upload Link:<br/>
  
  
        <%= label_tag(:title, t('resources.title_label')) %>
        <%= f.text_field :title  %>
  
        
        <%= label_tag(:link, t('resources.link_label')) %>
        <%= f.text_field :link  %>
  
        <%= link_to("Upload", '#', :class=>"btn btn-primary start", :id=>"submit-resource-form") %>
        <%= link_to("Cancel", '#', :class=>"btn btn start", "data-dismiss"=>"modal") %>
      <% end %>
  
    </div>
  