<% start_date_editable = can_update_my_module_start_date?(my_module) %> <%= render partial: "start_date_label" , locals: { my_module: my_module, start_date_editable: start_date_editable } %> <% if start_date_editable %>
<% end %>