let rulingcom new activity for other members
This commit is contained in:
parent
77179fa0fc
commit
e6e444bd77
|
@ -17,6 +17,7 @@ class Admin::ActivitiesController < OrbitMemberController
|
||||||
end
|
end
|
||||||
|
|
||||||
def new
|
def new
|
||||||
|
@member = MemberProfile.find_by(:uid=>params['uid']) rescue nil
|
||||||
@activity = Activity.new
|
@activity = Activity.new
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -86,6 +86,16 @@
|
||||||
<!-- Basic Module -->
|
<!-- Basic Module -->
|
||||||
<div class="tab-pane fade in active" id="basic">
|
<div class="tab-pane fade in active" id="basic">
|
||||||
|
|
||||||
|
<% if !@member.nil? %>
|
||||||
|
<div class="control-group big-group">
|
||||||
|
<label class="control-label muted"><%= t("personal_plugins.author") %></label>
|
||||||
|
<div class="controls">
|
||||||
|
<%= @member.name rescue ''%>
|
||||||
|
<%= f.hidden_field :member_profile_id, :value => @member.id %>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<% end %>
|
||||||
|
|
||||||
<!-- year -->
|
<!-- year -->
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label muted"><%= t("personal_activity.year") %></label>
|
<label class="control-label muted"><%= t("personal_activity.year") %></label>
|
||||||
|
|
Loading…
Reference in New Issue