Sha256: 90d7e4e0cdb0cbc9d67501660268f6a3ccf15798944a2ccebc401850c4e0fabb
Contents?: true
Size: 1.47 KB
Versions: 1
Compression:
Stored size: 1.47 KB
Contents
<p> <label for="element_label" class="desc">Label (English) <span class="required">required</span></label> <%= f.text_field :label, :maxlength => Fe::Element.max_label_length %> </p> <% @page.question_sheet.languages.select(&:present?).each do |language| %> <p> <label for="element_label_translations_<%= language %>" class="desc">Label (<%= Fe::LANGUAGES[language] %>) <span class="required">required</span></label> <%= text_field_tag "element[label_translations][#{language}]", @element.label_translations[language] %> </p> <% end %> <p> <label for="element_tooltip" class="desc">Tip (English)</label> <%= f.text_field :tooltip %> </p> <% @page.question_sheet.languages.select(&:present?).each do |language| %> <p> <label for="element_tip_translations_<%= language %>" class="desc">Tip (<%= Fe::LANGUAGES[language] %>)</label> <%= text_field_tag "element[tip_translations][#{language}]", @element.tip_translations[language] %> </p> <% end %> <p> <label for="element_slug" class="desc">Variable</label> <%= f.text_field :slug %> <p> <p> <%= f.check_box :required, :class => 'inlinecheck' %> <label for="element_required" class="inline">This field is required</label> </p> <p><%= f.check_box :is_confidential, :class => 'inlinecheck' %> <label for="element_is_confidential" class="inline">This field is confidential</label></p> <p> <%= f.check_box :hide_label, :class => 'inlinecheck' %> <label for="element_hide_label" class="inline">Hide Label</label> </p>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fe-1.0.0 | app/views/fe/admin/panels/_common_fields.html.erb |