-
+
+ <% if !@member.nil? %>
+
<%= @member.name rescue ''%>
- <%= f.hidden_field :member_profile_id, :value => @member.id if !@member.nil? %>
+ <%= f.hidden_field :member_profile_id, :value => @member.id %>
-
+
+
+ <% else %>
+
+
+
+
+ <%= render partial: 'admin/member_selects/email_selection_box', locals: {field: 'author_members[]', email_members:[]} %>
+
+
+
+ <% end %>
diff --git a/app/views/admin/diplomas/index.html.erb b/app/views/admin/diplomas/index.html.erb
index 1f3fc04..4375fb4 100644
--- a/app/views/admin/diplomas/index.html.erb
+++ b/app/views/admin/diplomas/index.html.erb
@@ -14,6 +14,9 @@
+
+ <%= link_to content_tag(:i, nil, :class => 'icon-plus icon-white') + t(:new_), new_admin_diploma_path, :class => 'btn btn-primary' %>
+