Sha256: 2339d06c38a6bdbefc80e76f4b7b730c30773c62b4558aa9ea790e9e52bc167f

Contents?: true

Size: 869 Bytes

Versions: 1

Compression:

Stored size: 869 Bytes

Contents

<div id="panel-properties-sheet" class="panel" style="display:block;">
  <p class="instruction">Update the settings for this form.</p>

  <div id="errors">
    <%= render :partial => 'errors', :locals => { :question_sheet => @question_sheet }%>
  </div>

  <%= form_for @question_sheet, :url => fe_admin_question_sheet_path(@question_sheet, :format => 'js'), :remote => true, :method => :put do |f| %>

    <p><label for="" class="desc">Label <span class="required">required</span></label>
    <%= f.text_field :label, :maxlength => 50 %></p>

    <p><label for="" class="desc">Languages (in addition to english)</label>
    <%= f.select :languages, Fe::LANGUAGES.collect {|k, v| [v, k]}, {}, { size: 3, multiple: true }  %></p>

    <p class="buttons">
    <%= submit_tag "Update &raquo;".html_safe, data: { disable_with: "Please wait..." } %></p>

  <% end %>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fe-1.0.0 app/views/fe/admin/panels/_prop_sheet.html.erb