File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 <%= react ( "ContributorsTabLayout" , props : {
1919 locale : LocaleService . to_gettext ( locale : locale ) ,
2020 planId : @plan . id ,
21- readonly : ! @plan . editable_by? ( current_user . id )
21+ writeable : @plan . editable_by? ( current_user . id )
2222 } ) %>
2323 </ div >
2424 </ div >
Original file line number Diff line number Diff line change 88 locale: locale,
99 planId: plan.id,
1010 userId: @current_user.id,
11- readonly: ! plan.editable_by?(current_user.id)
11+ writeable: plan.editable_by?(current_user.id)
1212 }) %>
1313 <% else %>
1414 <%= render partial: 'phases/edit_plan_answers',
Original file line number Diff line number Diff line change 1818 researchContext: @plan.context,
1919 isTest: @plan.is_test?,
2020 isClassic: @plan.template.classic?,
21- readonly: ! @plan.editable_by?(current_user.id)
21+ writeable: @plan.editable_by?(current_user.id)
2222 }) %>
2323<% end %>
2424
You can’t perform that action at this time.
0 commit comments