Sha256: e93038fcb010a527194ad931d7281f8ed9455de96c10203b6e0e16741ca5f0cd

Contents?: true

Size: 803 Bytes

Versions: 8

Compression:

Stored size: 803 Bytes

Contents

<%= test_fixture do %>
  <% @user = User.new %>
  <% @profile = Profile.new %>
  <% Audience.find_or_create_by_name("Educator") %>
  <script type="text/template" id="new-school-form-tpl">
    <%= render :partial => 'schools/form' %>
  </script>

  <%= render :partial => 'shared/form_errors', :locals => { :object => @user } %>

  <%= semantic_form_for(@profile, :url => "#", :method => :get, :html => {:novalidate => nil, :autocomplete => "off"}) do |form| %>
    <%= render :partial => "schools/profile_form", :locals => {:form => form} %>
    <%= form.input :audience, :as => :select, :collection => Audience.all, :label => 'Profession', :required => true, :input_html => { :required => 'required', 'data-message' => Profile.error_message(:audience) } %>
    <%= form.submit %>
  <% end %>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
scidea-schools-1.1 qunit/html_fixtures/backbone_apps/_school_selector.html.erb
scidea-schools-1.0.6 qunit/html_fixtures/backbone_apps/_school_selector.html.erb
scidea-schools-1.0.5 qunit/html_fixtures/backbone_apps/_school_selector.html.erb
scidea-schools-1.0.4 qunit/html_fixtures/backbone_apps/_school_selector.html.erb
scidea-schools-1.0.3 qunit/html_fixtures/backbone_apps/_school_selector.html.erb
scidea-schools-1.0.2 qunit/html_fixtures/backbone_apps/_school_selector.html.erb
scidea-schools-1.0.1 qunit/html_fixtures/backbone_apps/_school_selector.html.erb
scidea-schools-1.0.0 qunit/html_fixtures/backbone_apps/_school_selector.html.erb