<%= @member.name rescue ''%>
- <%= f.hidden_field :member_profile_id, :value => @member.id if !@member.nil? %>
+ <%= f.hidden_field :member_profile_id, :value => @member.id %>
+
+
+
+
+ <%= render partial: 'admin/member_selects/email_selection_box', locals: {field: 'author_members[]', email_members:[]} %>
diff --git a/app/views/admin/patents/_patent.html.erb b/app/views/admin/patents/_patent.html.erb
index 1c3d54b..e137c2e 100644
--- a/app/views/admin/patents/_patent.html.erb
+++ b/app/views/admin/patents/_patent.html.erb
@@ -1,6 +1,6 @@
<% @patents.each do |patent| %>
">
- <%= patent.publish_date.strftime("%Y.%m") %> |
+ <%= patent.publish_date.strftime("%Y.%m") rescue "" %> |
<%= link_to patent.patent_title, OrbitHelper.url_to_plugin_show(patent.to_param,'personal_patent').to_s, target: "blank"%>
diff --git a/app/views/admin/patents/index.html.erb b/app/views/admin/patents/index.html.erb
index 3f517e6..aa1890a 100644
--- a/app/views/admin/patents/index.html.erb
+++ b/app/views/admin/patents/index.html.erb
@@ -15,6 +15,7 @@
+ <%= link_to content_tag(:i, nil, :class => 'icon-plus icon-white') + t(:new_), new_admin_patent_path, :class => 'btn btn-primary' %>
<%= link_to content_tag(:i, nil, :class => 'icon-cog icon-white') + t('setting'), admin_patent_setting_path, :class => 'btn btn-primary pull-right' %>
|