Sha256: 4cf0afbb7e9fb05d4948c64fd38452665fffaecc484b2b4cd3e47c796a417b07

Contents?: true

Size: 838 Bytes

Versions: 26

Compression:

Stored size: 838 Bytes

Contents

<%= form_for(@subject) do |f| -%>
  <%= f.error_messages -%>
  <div class="field">
    <%= f.label t('activerecord.models.subject_heading_type') -%>
    <%= f.select(:subject_heading_type_id, @subject_heading_types.collect{|s| [s.display_name.localize, s.id]}) -%>
  </div>
  <div class="field">
    <%= f.label t('activerecord.models.subject_type') -%>
    <%= f.select(:subject_type_id, @subject_types.collect{|s| [s.display_name.localize, s.id]}) -%>
  </div>

  <div class="field">
    <%= f.label :term -%><br />
    <%= f.text_field :term -%>
  </div>
  <div class="field">
    <%= f.label :term_transcription -%><br />
    <%= f.text_field :term_transcription -%>
  </div>
  <div class="field">
    <%= f.label :note -%><br />
    <%= f.text_area :note -%>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<%- end -%>

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
enju_subject-0.3.4 app/views/subjects/_form.html.erb
enju_subject-0.3.3 app/views/subjects/_form.html.erb
enju_subject-0.3.2 app/views/subjects/_form.html.erb
enju_subject-0.3.1 app/views/subjects/_form.html.erb
enju_subject-0.3.0 app/views/subjects/_form.html.erb
enju_subject-0.3.0.rc.1 app/views/subjects/_form.html.erb
enju_subject-0.3.0.beta.1 app/views/subjects/_form.html.erb
enju_subject-0.2.3 app/views/subjects/_form.html.erb
enju_subject-0.2.2 app/views/subjects/_form.html.erb
enju_subject-0.2.1 app/views/subjects/_form.html.erb
enju_subject-0.2.0 app/views/subjects/_form.html.erb
enju_subject-0.2.0.beta.5 app/views/subjects/_form.html.erb
enju_subject-0.2.0.beta.4 app/views/subjects/_form.html.erb
enju_subject-0.2.0.beta.3 app/views/subjects/_form.html.erb
enju_subject-0.2.0.beta.2 app/views/subjects/_form.html.erb
enju_subject-0.2.0.beta.1 app/views/subjects/_form.html.erb
enju_subject-0.1.1 app/views/subjects/_form.html.erb
enju_subject-0.1.0 app/views/subjects/_form.html.erb
enju_subject-0.1.0.pre34 app/views/subjects/_form.html.erb
enju_subject-0.1.0.pre33 app/views/subjects/_form.html.erb