Sha256: 35c515656c7e12501cbd3e52aeac77457a4aad1ddd778c7c46a71296e78b0194
Contents?: true
Size: 1.51 KB
Versions: 14
Compression:
Stored size: 1.51 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", maxlength: 1700 %> </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
14 entries across 14 versions & 1 rubygems