Sha256: b17c65c57300ee9a195f2b5caaa0f825c8e40ba88c0970099ec1d63d3bedb607
Contents?: true
Size: 1.97 KB
Versions: 6
Compression:
Stored size: 1.97 KB
Contents
<div class='alert alert-info'> <p><%= t(".explain") %></p> <p><%= t(".sample") %></p> </div> <div class='form-horizontal'> <div class='form-group'> <label class='control-label col-sm-2'><%= t(".permalink_format") %></label> <div class='col-sm-5'> <div class='radio'> <label for="setting_permalink_format_yearmonthdaytitle"> <%= radio_button(:setting, :permalink_format, '/%year%/%month%/%day%/%title%') %> <%= t(".date_and_title") %> </label> <small class='help-block'><%= "#{this_blog.base_url}/#{Time.now.strftime('%Y/%m/%d')}/sample-article" %></small> <label for="setting_permalink_format_yearmonthtitle"> <%= radio_button(:setting, :permalink_format, '/%year%/%month%/%title%') %> <%= t(".month_and_title") %> </label> <small class='help-block'><%= "#{this_blog.base_url}/#{Time.now.strftime('%Y/%m')}/sample-article" %></small> <label for="setting_permalink_format_title"> <%= radio_button(:setting, :permalink_format, '/%title%') %> <%= t(".title_only") %> </label> <small class='help-block'><%= "#{this_blog.base_url}/sample-article" %></small> <label for="setting_permalink_format_custom"> <%= radio_button(:setting, :permalink_format, 'custom') %> <%= t(".custom") %> <%= text_field(:setting, :custom_permalink, { :class => 'form-control'}) %> </label> </div> </div> </div> </div> <h3><%= t(".help_on_permalink_settings") %></h3> <p class='help-block'><%= t(".you_can_custom_your_url_structure") %></p> <table class="table table-hover"> <tr> <td><code>%title%</code></td> <td><%= t(".your_article_slug_html") %></td> </tr> <tr> <td><code>%year%</code></td> <td><%= t(".your_article_year") %></td> </tr> <tr> <td><code>%month%</code></td> <td><%= t(".your_article_month") %></td> </tr> <tr> <td><code>%day%</code></td> <td><%= t(".your_article_day") %></td> </tr> </table>
Version data entries
6 entries across 6 versions & 1 rubygems