Sha256: 0823bf4b53df1747e470ec3dadb19118f1b2397840f462e84c284763e1f75c24
Contents?: true
Size: 1.11 KB
Versions: 30
Compression:
Stored size: 1.11 KB
Contents
<div id="content_detail" class="ui-corner-all"> <h1 class="title"><%= t('page.editing', :model => t('activerecord.models.question')) -%></h1> <div id="content_list"> <%= simple_form_for(@question, :validate => true) do |f| -%> <%= f.error_notification -%> <div class="field"> <%= f.label t('activerecord.models.user') -%><br /> <%= link_to @question.user.username, @question.user -%> </div> <div class="field"> <%= f.label :body -%><br /> <%= f.text_area :body, :class => 'resource_textarea' -%> </div> <div class="field"> <%= f.label :shared -%> <%= f.check_box :shared -%> </div> <div class="field"> <%= f.label :solved -%> <%- if @question.user == current_user -%> <%= f.check_box :solved -%> <%- else -%> <%= f.check_box :solved, :disabled => 'disabled' -%> <%- end -%> </div> <div class="actions"> <%= f.submit %> </div> <%- end -%> </div> </div> <div id="submenu" class="ui-corner-all"> <ul> <li><%= link_to t('page.show'), @question -%></li> <li><%= link_to t('page.back'), user_questions_path(@question.user) -%></li> </ul> </div>
Version data entries
30 entries across 30 versions & 1 rubygems