Sha256: 5b7a35450e9e4ce8447ce6b798d6e7582ac30b91cb1bbf7c36e59b15c294cdbc
Contents?: true
Size: 1.1 KB
Versions: 68
Compression:
Stored size: 1.1 KB
Contents
<h2>Now list another harmful thought...</h2> <% placeholders = [ 'an example thought: "She thinks that she\'s better than me"', 'another example: "I\'m a terrible friend"', 'yet another example: "They\'re never going to listen to me"' ] %> <% thoughts.each_with_index do |thought, i| %> <%= form_for( thought, url: create_path, remote: true, html: { class: "multi-page#{ i == 0 ? "" : " not-displayed" }", role: "form", onsubmit: "validatePublic(event,'thought_shared_item_true')" } ) do |f| %> <div class="form-group"> <%= f.text_area :content, placeholder: placeholders[i], class: "form-control", rows: 3, required: true %> </div> <%= render 'think_feel_do_engine/thoughts/thought_effects', f: f, thought: thought %> <% if current_participant.active_group.arm.social? %> <span class="new-shareable-form-after-form-groups" data-item-type="thought" data-action-type=""></span> <% end %> <%= content_tag(:button, t(:next), type: "submit", class: "btn btn-primary pull-right") %> <% end %> <% end %>
Version data entries
68 entries across 68 versions & 1 rubygems