ref: master
plugins/community_track/views/cms/community_track_plugin/_step.html.erb
<%= required_fields_message %><%= required f.text_field('name', :size => '64', :maxlength => 150) %> <%= labelled_form_field(_('Period'), ( date_range_field('article[start_date]', 'article[end_date]', @article.start_date, @article.end_date, { :change_month => true, :change_year => true, :date_format => 'yy-mm-dd' }, { :size => 14 }) )) %> <%= labelled_form_field(_('Tool type'), select(:article, :tool_type, @article.enabled_tools.map {|t| [t.short_description, t.name]} )) %> <%= hidden_field_tag('success_back_to', url_for(@article.parent.view_url)) %> <%= hidden_field_tag('parent_id', @article.parent_id) %><%= labelled_form_field check_box(:article, :hidden) + _('Hidden Step'), '' %> <%= render :partial => 'shared/lead_and_body', :locals => {:body_label => 'Description:'} %>