Sha256: 360818a63a62deef91c2db849a72b714752975d3818cbc5d571797fd2c4d0ec4
Contents?: true
Size: 1.5 KB
Versions: 48
Compression:
Stored size: 1.5 KB
Contents
<div class="btn-toolbar"> <%= link_to (fa_icon("reply") + " Return").html_safe, compose_path, class: "btn btn-default" %> </div> <% if message %> <%= render("think_feel_do_engine/messages/message_info", message: message) %> <hr> <% end %> <%= form_for new_message, url: create_path, method: "post", html: { role: "form" } do |f| %> <% if new_message.to == "Moderator" %> <p>If you'd like to reach out to the moderator of ThinkFeelDo, please complete the form below. The moderator will receive your message and respond to you directly (and if needed take some kind of action).</p> <% end %> <label class="control-label">To <%= new_message.to %> <%= f.hidden_field :recipient_id, value: recipient_id || new_message.recipient_id %> <%= f.hidden_field :recipient_type, value: recipient_type || new_message.recipient_type %> </label> <div class="form-group"> <label for="message_subject" class="control-label">Subject</label> <%= f.text_field :subject, required: true, value: subject, class: "form-control .col-xs-12 .col-sm-6 .col-md-6 .col-lg-4" %> </div> <div class="form-group"> <label for="message_body" class="control-label">Message</label> <%= f.text_area :body, class: "form-control .col-xs-12 .col-sm-6 .col-md-6 .col-lg-4" %> </div> <button type="submit" class="btn btn-success"><%= fa_icon("send").html_safe %> Send</button> <%= link_to "Cancel", think_feel_do_engine.navigator_context_path(context_name: tool.title), class: "btn btn-default" %> <% end %>
Version data entries
48 entries across 48 versions & 1 rubygems