app/views/classifications/_form.html.erb in enju_subject-0.1.0.pre33 vs app/views/classifications/_form.html.erb in enju_subject-0.1.0.pre34

- old
+ new

@@ -1,20 +1,30 @@ <%= form_for(@classification) do |f| -%> <%= f.error_messages -%> <div class="field"> + <%= f.label t('activerecord.models.classification_type') -%><br /> + <%= f.select(:classification_type_id, @classification_types.collect{|c| [c.name, c.id]}) -%> + </div> + + <div class="field"> <%= f.label :category -%><br /> <%= f.text_field :category -%> </div> <div class="field"> - <%= f.label :note -%><br /> - <%= f.text_area :note, class: 'resource_textarea' -%> + <%= f.label :label -%><br /> + <%= f.text_field :label -%> </div> <div class="field"> - <%= f.label t('activerecord.models.classification_type') -%><br /> - <%= f.select(:classification_type_id, @classification_types.collect{|c| [c.name, c.id]}) -%> + <%= f.label :url -%><br /> + <%= f.url_field :url, class: 'resource_url' -%> + </div> + + <div class="field"> + <%= f.label :note -%><br /> + <%= f.text_area :note, class: 'resource_textarea' -%> </div> <div class="actions"> <%= f.submit -%> </div>