Sha256: f6660c7bf50e9df46fa893b1bc2edefc93e82414dbb519646b85787049dc9039
Contents?: true
Size: 1.68 KB
Versions: 2
Compression:
Stored size: 1.68 KB
Contents
<%= bootstrap_form_for label, :as => :label, :url => label.new_record? ? labels_path : label_path(:id => label, :published => 0), :layout => :horizontal do |f| %> <fieldset id="label_base_data"> <legend><%= t("txt.common.attributes") %></legend> <%= f.text_field :value %> <%= f.select :language, Iqvoc.all_languages %> <% if Iqvoc::XLLabel.has_additional_base_data %> <%= render 'partials/label/additional_base_data', :f => f %> <% end %> <%= f.text_field :follow_up, :class => 'datepicker' %> <%= f.text_field :expired_at, :class => 'datepicker' %> </fieldset> <fieldset> <legend><%= Label::Relation::SKOSXL::Base.model_name.human(:count => 2) %></legend> <% Iqvoc::XLLabel.relation_classes.each do |relation_class| %> <%= render relation_class.edit_partial_name(label), :f => f, :label => label, :klass => relation_class %> <% end %> </fieldset> <% Iqvoc::XLLabel.additional_association_classes.keys.each do |association_class| %> <fieldset> <legend><%= association_class.model_name.human(:count => 2) %></legend> <%= render association_class.edit_partial_name(label), :label => label, :klass => association_class, :f => f %> </fieldset> <% end %> <% unless label.new_record? %> <% Iqvoc::XLLabel.note_classes.each do |note_class| %> <%= render note_class.edit_partial_name(label), :owner_klass => label, :assoc_klass => note_class, :f => f %> <% end %> <% end %> <hr /> <div class="well"> <%= f.submit t("txt.common.save"), :class => 'btn btn-primary' %> <%= link_to t("txt.common.cancel"), label_path(:id => label, :published => 0), :class => "btn btn-default" %> </div> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
iqvoc_skosxl-2.8.1 | app/views/labels/_form.html.erb |
iqvoc_skosxl-2.8.0 | app/views/labels/_form.html.erb |