Sha256: 14b347c7560a7ac46eaeb119ce4a335c103db63331428df4d5f3133cba11364b

Contents?: true

Size: 1.32 KB

Versions: 18

Compression:

Stored size: 1.32 KB

Contents

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

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

  <%= form_for(page, url: fe_admin_question_sheet_page_path(page.question_sheet_id, page.id), remote: true, html: {method: :put}) do |f| %>
    <p><label for="" class="desc">Label (English) <span class="required">required</span></label>
        <%= f.text_field :label, maxlength: 100, size: 40 %></p>
      <% page.question_sheet.languages.select(&:present?).each do |language| %>
        <p>
        <label for="fe_page_label_translations_<%= language %>" class="desc">Label (<%= Fe::LANGUAGES[language] %>) <span class="required">required</span></label>
        <%= text_field_tag "fe_page[label_translations][#{language}]", page.label_translations[language] %>
        </p>
      <% end %>
    <p><label for="" class="desc">Hidden</label>
        <%= f.check_box :hidden %></p>

    <p class="buttons">
      <%= submit_tag "Update &raquo;".html_safe, data: { disable_with: "Please wait..." } %>
    </p>
    <p class="buttons"><%= link_to "Delete", fe_admin_question_sheet_page_path(page.question_sheet_id, page.id), remote: true, method: :delete, data: {confirm: "Are you sure you want to delete this page?"} %></p>
  <% end %>

</div>

Version data entries

18 entries across 13 versions & 1 rubygems

Version Path
fe-2.1.5 app/views/fe/admin/panels/_prop_page.html.erb
fe-2.1.4 app/views/fe/admin/panels/_prop_page.html.erb
fe-2.1.3 app/views/fe/admin/panels/_prop_page.html.erb
fe-2.1.2 app/views/fe/admin/panels/_prop_page.html.erb
fe-2.1.1 app/views/fe/admin/panels/_prop_page.html.erb
fe-2.0.8 app/views/fe/admin/panels/_prop_page.html.erb
fe-2.0.6 app/views/fe/admin/panels/_prop_page.html.erb
fe-2.0.5 app/views/fe/admin/panels/_prop_page.html.erb
fe-2.0.4 app/views/fe/admin/panels/_prop_page.html.erb
fe-2.0.4 app/views.current/fe/admin/panels/_prop_page.html.erb
fe-2.0.3 app/views/fe/admin/panels/_prop_page.html.erb
fe-2.0.3 app/views.current/fe/admin/panels/_prop_page.html.erb
fe-2.0.2 app/views/fe/admin/panels/_prop_page.html.erb
fe-2.0.2 app/views.current/fe/admin/panels/_prop_page.html.erb
fe-2.0.1 app/views.current/fe/admin/panels/_prop_page.html.erb
fe-2.0.1 app/views/fe/admin/panels/_prop_page.html.erb
fe-2.0.0 app/views/fe/admin/panels/_prop_page.html.erb
fe-2.0.0 app/views.current/fe/admin/panels/_prop_page.html.erb