Sha256: e04168d8cf54dc2d8dc4e75a4457aba59f400b2e328519c7b7d28e5b04165381
Contents?: true
Size: 1.25 KB
Versions: 34
Compression:
Stored size: 1.25 KB
Contents
<div id="content_detail" class="ui-corner-all ui-widget-content"> <h1 class="title"><%= t('page.new', model: t('activerecord.models.message_request')) -%></h1> <div id="content_list"> <%= form_for(@message_request) do |f| -%> <%= f.error_messages -%> <div class="field"> <%= f.label t('message.sender') -%><br /> <%= link_to current_user.username, current_user.profile if current_user.profile -%> <%= f.hidden_field :sender_id -%> </div> <div class="field"> <%= f.label t('message.receiver') -%><br /> <%= f.text_field :receiver_id -%> </div> <div class="field"> <%= f.label t('activerecord.models.message_template') -%><br /> <%= f.select(:message_template_id, @message_templates.collect{|m| [m.title, m.id]}) -%> </div> <div class="field"> <%= f.label t('activerecord.attributes.message.subject') -%><br /> <%= @message_request.subject -%> </div> <div class="field"> <%= f.label t('activerecord.attributes.message.body') -%><br /> <%= textilize(@message_request.body) -%> </div> <div class="actions"> <%= f.submit %> </div> <%- end -%> </div> </div> <div id="submenu" class="ui-corner-all ui-widget-content"> <ul> <li><%= link_to t('page.back'), message_requests_path -%></li> </ul> </div>
Version data entries
34 entries across 34 versions & 1 rubygems