🏫 Institutions

<% if @institutions.present? %>
<% @institutions.each do |institution| %>
<%= institution.name %>
<% if institution.respond_to?(:description) %>

<%= institution.description.truncate(100) %>

<% end %>
<% end %>
<% else %>

No institutions added yet.

<% end %>
<%= link_to "➕ New Institution", new_institution_path, class: "btn btn-success-custom btn-custom" %>

🎓 Programs

<% if @programs.present? %>
<% @programs.each do |program| %>
<%= program.name %>

<% if program.respond_to?(:date) %> Date: <%= program.date %>
<% end %> <% if program.respond_to?(:leadingPerson) %> Lead: <%= program.leadingPerson %> <% end %>

<% end %>
<% else %>

No programs available yet.

<% end %>
<%= link_to "➕ New Program", new_program_path, class: "btn btn-success-custom btn-custom" %>

🕌 Ziyara

<% if @ziyaras.present? %>
<% @ziyaras.each do |ziyara| %>
<%= ziyara.name %>
<% if ziyara.respond_to?(:location) %>

📍 Location: <%= ziyara.location %>

<% end %> <% if ziyara.respond_to?(:date) %>

📅 Date: <%= ziyara.date %>

<% end %>
<% end %>
<% else %>

No Ziyara records yet.

<% end %>
<%= link_to "➕ New Ziyara", new_ziyara_path, class: "btn btn-success-custom btn-custom" %>