diff --git a/app/views/admin/education/programs/_form.html.erb b/app/views/admin/education/programs/_form.html.erb index 5ee17c146b10ad150a34501f63751edd210a3004..50138adea6e35c294c1a15f9fa8a32c7a55cbf07 100644 --- a/app/views/admin/education/programs/_form.html.erb +++ b/app/views/admin/education/programs/_form.html.erb @@ -58,26 +58,18 @@ </div> <div class="card-body"> <%= render 'admin/education/programs/forms/input_with_inheritance', f: f, property: :presentation %> - <%= render 'admin/education/programs/forms/input_with_inheritance', f: f, property: :registration %> - <%= render 'admin/education/programs/forms/input_with_inheritance', f: f, property: :pricing %> - <%= render 'admin/education/programs/forms/input_with_inheritance', f: f, property: :duration %> - <%= render 'admin/education/programs/forms/input_with_inheritance', f: f, property: :accessibility %> - <%= render 'admin/education/programs/forms/input_with_inheritance', f: f, property: :other %> - </div> - </div> - - <div class="card flex-fill w-100"> - <div class="card-header"> - <h5 class="card-title mb-0"><%= t('education.program.educational_informations') %></h5> - </div> - <div class="card-body"> <%= render 'admin/education/programs/forms/input_with_inheritance', f: f, property: :objectives %> + <%= render 'admin/education/programs/forms/input_with_inheritance', f: f, property: :opportunities %> + <%= render 'admin/education/programs/forms/input_with_inheritance', f: f, property: :results %> + <%= render 'admin/education/programs/forms/input_with_inheritance', f: f, property: :accessibility %> + <%= render 'admin/education/programs/forms/input_with_inheritance', f: f, property: :duration %> + <%= render 'admin/education/programs/forms/input_with_inheritance', f: f, property: :pricing %> <%= render 'admin/education/programs/forms/input_with_inheritance', f: f, property: :content %> - <%= render 'admin/education/programs/forms/input_with_inheritance', f: f, property: :prerequisites %> <%= render 'admin/education/programs/forms/input_with_inheritance', f: f, property: :pedagogy %> <%= render 'admin/education/programs/forms/input_with_inheritance', f: f, property: :evaluation %> - <%= render 'admin/education/programs/forms/input_with_inheritance', f: f, property: :opportunities %> - <%= render 'admin/education/programs/forms/input_with_inheritance', f: f, property: :results %> + <%= render 'admin/education/programs/forms/input_with_inheritance', f: f, property: :prerequisites %> + <%= render 'admin/education/programs/forms/input_with_inheritance', f: f, property: :registration %> + <%= render 'admin/education/programs/forms/input_with_inheritance', f: f, property: :other %> </div> </div> diff --git a/app/views/admin/education/programs/show.html.erb b/app/views/admin/education/programs/show.html.erb index 51064ef1ccb42ed7cfff872bca6f4495356a52f9..906b1a681597d70ac49514cf43195e2d143ca60f 100644 --- a/app/views/admin/education/programs/show.html.erb +++ b/app/views/admin/education/programs/show.html.erb @@ -58,35 +58,23 @@ <div class="card-body"> <% [ :presentation, - :registration, - :pricing, - :duration, - :contacts, + :objectives, + :opportunities, + :results, :accessibility, + :duration, + :pricing, + :content, + :pedagogy, + :evaluation, + :prerequisites, + :registration, :other ].each_with_index do |property, index| %> <%= render 'admin/application/property/text', object: @program, property: property %> <% end %> </div> </div> - <div class="card flex-fill w-100"> - <div class="card-header"> - <h5 class="card-title mb-0"><%= t('education.program.educational_informations') %></h5> - </div> - <div class="card-body"> - <% [ - :objectives, - :content, - :prerequisites, - :pedagogy, - :evaluation, - :opportunities, - :results - ].each do |property| %> - <%= render 'admin/application/property/text', object: @program, property: property %> - <% end %> - </div> - </div> <%= render 'admin/communication/blocks/list', about: @program %>