Sha256: 77c92dbf54824d5571bbb4d09c38ee297d31ad51c4556502d67a589f5f82a3d3

Contents?: true

Size: 1.36 KB

Versions: 9

Compression:

Stored size: 1.36 KB

Contents

<h2>New Gratitude Recording</h2>

<%= form_for(participant.gratitude_recordings.build, url: create_path, html: { method: :post, role: :form }) do |f| %>
  <div class="form-group">
    <%= f.label :description, "What were you grateful for today? Or, thinking back, what can you feel grateful for now?", class: "control-label" %>
    <%= f.text_area :description, class: "form-control" %>

    <a data-toggle="collapse" href="#collapse-gratitude-examples">see some examples</a>

    <div class="collapse" id="collapse-gratitude-examples">
      <div class="well">
        <ul>
          <li>A person who's done you a favor</li>
          <li>Something you enjoy, like a song or TV show (you can be grateful for the show itself, and also to the people who made it.)</li>
          <li>Things that make life easier or more pleasant - including really simple things, like a warm blanket.</li>
          <li>A pet or friendly animal</li>
          <li>A good friend or close family member, just for being there</li>
          <li>God or a higher power</li>
          <li>Nature in general, or a particular plant, flower, or tree</li>
          <li>Anything else that your're glad to have or experience</li>
        </ul>
      </div>
    </div>
  </div>

  <%= f.submit t(:next), class: "btn btn-primary" %>
  <%= link_to t(:skip), navigator_next_content_path, class: "btn btn-warning" %>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
think_feel_do_engine-3.16.3 app/views/think_feel_do_engine/gratitude_recordings/new_provider.html.erb
think_feel_do_engine-3.16.2 app/views/think_feel_do_engine/gratitude_recordings/new_provider.html.erb
think_feel_do_engine-3.16.1 app/views/think_feel_do_engine/gratitude_recordings/new_provider.html.erb
think_feel_do_engine-3.15.7 app/views/think_feel_do_engine/gratitude_recordings/new_provider.html.erb
think_feel_do_engine-3.16.0 app/views/think_feel_do_engine/gratitude_recordings/new_provider.html.erb
think_feel_do_engine-3.15.6 app/views/think_feel_do_engine/gratitude_recordings/new_provider.html.erb
think_feel_do_engine-3.15.5 app/views/think_feel_do_engine/gratitude_recordings/new_provider.html.erb
think_feel_do_engine-3.15.4 app/views/think_feel_do_engine/gratitude_recordings/new_provider.html.erb
think_feel_do_engine-3.15.3 app/views/think_feel_do_engine/gratitude_recordings/new_provider.html.erb